#242C8E#242C8E

#242C8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.159 H 271.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#242C8E
RGBrgb(36, 44, 142)
HSLhsl(235, 60%, 35%)
HSVhsv(235, 75%, 56%)
CMYKcmyk(74.6%, 69%, 0%, 44.3%)
CIE-LABlab(24.09, 31.75, -55.02)
CIE-LCHlch(24.09, 63.52, 299.99°)
OKLaboklab(35.86% 0.0048 -0.1591)
OKLCHoklch(35.86% 0.159 271.7)
XYZxyz(6.5091, 4.1288, 26.0398)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C8E #8E8624
analogous
#24618E #242C8E #51248E
triadic
#242C8E #8E242C #2C8E24
tetradic
#242C8E #8E2461 #8E8624 #248E51
square
#242C8E #8E2461 #8E8624 #248E51
split-complementary
#242C8E #8E5124 #618E24
monochromatic
#0B0E2C #181D5D #242C8E #303BBF #5861D5

Accessibility & contrast

On white

11.50
#242C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#242C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C8E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C8E#FFFFFF#000000##FFFFFF
##242C8E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242c8e;
/* rgb */ color: rgb(36, 44, 142);
/* oklch */ color: oklch(35.9% 0.159 271.7);
Tailwind
colors: {
  custom: {
    50: '#7065b0',
    500: '#242c8e',
    950: '#000000',
  },
}
SCSS
$custom: #242c8e;
$custom-light: #7065b0;
$custom-dark: #000000;
JSON
{
  "hex": "#242c8e",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 235.472,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35859,
    "c": 0.15917,
    "h": 271.7
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#242C8E
secondary
#B9B155
accent
#D745E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242C8E

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

Preview Lab → · Contrast checker → · Palette generator →

#242C8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva