#18247C#18247C

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

Color values

HEX#18247C
RGBrgb(24, 36, 124)
HSLhsl(233, 68%, 29%)
HSVhsv(233, 81%, 49%)
CMYKcmyk(80.6%, 71%, 0%, 51.4%)
CIE-LABlab(19.68, 28.99, -50.98)
CIE-LCHlch(19.68, 58.65, 299.62°)
OKLaboklab(31.93% -0.0017 -0.1476)
OKLCHoklch(31.93% 0.148 269.4)
XYZxyz(4.6444, 2.9107, 19.3819)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18247C #7C7018
analogous
#18567C #18247C #3E187C
triadic
#18247C #7C1824 #247C18
tetradic
#18247C #7C1856 #7C7018 #187C3E
square
#18247C #7C1856 #7C7018 #187C3E
split-complementary
#18247C #7C3E18 #567C18
monochromatic
#05071A #0E1549 #18247C #2233AF #364AD8

Accessibility & contrast

On white

13.27
#18247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18247C
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18247C#FFFFFF#000000##FFFFFF
##18247C1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18247c;
/* rgb */ color: rgb(24, 36, 124);
/* oklch */ color: oklch(31.9% 0.148 269.4);
Tailwind
colors: {
  custom: {
    50: '#685fa3',
    500: '#18247c',
    950: '#000000',
  },
}
SCSS
$custom: #18247c;
$custom-light: #685fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#18247c",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 232.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31934,
    "c": 0.14763,
    "h": 269.4
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#18247C
secondary
#B1A33F
accent
#D63DEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #18247C

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

Preview Lab → · Contrast checker → · Palette generator →

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