#18247B#18247B

#18247B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.146 H 269.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#18247B
RGBrgb(24, 36, 123)
HSLhsl(233, 67%, 29%)
HSVhsv(233, 80%, 48%)
CMYKcmyk(80.5%, 70.7%, 0%, 51.8%)
CIE-LABlab(19.58, 28.61, -50.52)
CIE-LCHlch(19.58, 58.06, 299.52°)
OKLaboklab(31.83% -0.0016 -0.1462)
OKLCHoklch(31.83% 0.146 269.4)
XYZxyz(4.5815, 2.8855, 19.0505)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18247B #7B6F18
analogous
#18567B #18247B #3E187B
triadic
#18247B #7B1824 #247B18
tetradic
#18247B #7B1856 #7B6F18 #187B3E
square
#18247B #7B1856 #7B6F18 #187B3E
split-complementary
#18247B #7B3E18 #567B18
monochromatic
#05071A #0E1548 #18247B #2233AE #3649D8

Accessibility & contrast

On white

13.31
#18247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#18247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18247B
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18247B#FFFFFF#000000##FFFFFF
##18247B1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #18247b;
/* rgb */ color: rgb(24, 36, 123);
/* oklch */ color: oklch(31.8% 0.146 269.4);
Tailwind
colors: {
  custom: {
    50: '#675fa2',
    500: '#18247b',
    950: '#000000',
  },
}
SCSS
$custom: #18247b;
$custom-light: #675fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#18247b",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 232.727,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31828,
    "c": 0.14626,
    "h": 269.4
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#18247B
secondary
#B0A23F
accent
#D53EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #18247B

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

Preview Lab → · Contrast checker → · Palette generator →

#18247B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva