#18309F#18309F

#18309F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.180 H 266.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#18309F
RGBrgb(24, 48, 159)
HSLhsl(229, 74%, 36%)
HSVhsv(229, 85%, 62%)
CMYKcmyk(84.9%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.19, 34.41, -62.03)
CIE-LCHlch(26.19, 70.94, 299.01°)
OKLaboklab(37.74% -0.0101 -0.1798)
OKLCHoklch(37.74% 0.18 266.8)
XYZxyz(7.6895, 4.8104, 33.3174)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18309F #9F8718
analogous
#18739F #18309F #43189F
triadic
#18309F #9F1830 #309F18
tetradic
#18309F #9F1873 #9F8718 #189F43
square
#18309F #9F1873 #9F8718 #189F43
split-complementary
#18309F #9F4318 #739F18
monochromatic
#081035 #10206A #18309F #2040D4 #4D68E4

Accessibility & contrast

On white

10.70
#18309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#18309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18309F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18309F#FFFFFF#000000##FFFFFF
##18309F1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18309f;
/* rgb */ color: rgb(24, 48, 159);
/* oklch */ color: oklch(37.7% 0.180 266.8);
Tailwind
colors: {
  custom: {
    50: '#7068bc',
    500: '#18309f',
    950: '#000000',
  },
}
SCSS
$custom: #18309f;
$custom-light: #7068bc;
$custom-dark: #000000;
JSON
{
  "hex": "#18309f",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 229.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37739,
    "c": 0.18009,
    "h": 266.8
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#18309F
secondary
#C6B14D
accent
#D037F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #18309F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#18309F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva