#18247A#18247A

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

Color values

HEX#18247A
RGBrgb(24, 36, 122)
HSLhsl(233, 67%, 29%)
HSVhsv(233, 80%, 48%)
CMYKcmyk(80.3%, 70.5%, 0%, 52.2%)
CIE-LABlab(19.48, 28.22, -50.05)
CIE-LCHlch(19.48, 57.46, 299.42°)
OKLaboklab(31.72% -0.0015 -0.1449)
OKLCHoklch(31.72% 0.145 269.4)
XYZxyz(4.5192, 2.8606, 18.7225)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18247A #7A6E18
analogous
#18557A #18247A #3D187A
triadic
#18247A #7A1824 #247A18
tetradic
#18247A #7A1855 #7A6E18 #187A3D
square
#18247A #7A1855 #7A6E18 #187A3D
split-complementary
#18247A #7A3D18 #557A18
monochromatic
#05081A #0E1547 #18247A #2233AD #3549D7

Accessibility & contrast

On white

13.36
#18247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#18247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18247A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18247A#FFFFFF#000000##FFFFFF
##18247A1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #18247a;
/* rgb */ color: rgb(24, 36, 122);
/* oklch */ color: oklch(31.7% 0.145 269.4);
Tailwind
colors: {
  custom: {
    50: '#675fa1',
    500: '#18247a',
    950: '#000000',
  },
}
SCSS
$custom: #18247a;
$custom-light: #675fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#18247a",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 232.653,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31722,
    "c": 0.1449,
    "h": 269.4
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#18247A
secondary
#AFA13F
accent
#D53EEA
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #18247A

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

Preview Lab → · Contrast checker → · Palette generator →

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