#242E8D#242E8D

#242E8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.155 H 271.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#242E8D
RGBrgb(36, 46, 141)
HSLhsl(234, 59%, 35%)
HSVhsv(234, 74%, 55%)
CMYKcmyk(74.5%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.49, 30.07, -53.75)
CIE-LCHlch(24.49, 61.59, 299.23°)
OKLaboklab(36.12% 0.0036 -0.1554)
OKLCHoklch(36.12% 0.155 271.3)
XYZxyz(6.5106, 4.2515, 25.6716)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E8D #8D8324
analogous
#24628D #242E8D #4F248D
triadic
#242E8D #8D242E #2E8D24
tetradic
#242E8D #8D2462 #8D8324 #248D4F
square
#242E8D #8D2462 #8D8324 #248D4F
split-complementary
#242E8D #8D4F24 #628D24
monochromatic
#0B0E2B #181E5C #242E8D #303EBE #5763D4

Accessibility & contrast

On white

11.35
#242E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#242E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E8D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E8D#FFFFFF#000000##FFFFFF
##242E8D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242e8d;
/* rgb */ color: rgb(36, 46, 141);
/* oklch */ color: oklch(36.1% 0.155 271.3);
Tailwind
colors: {
  custom: {
    50: '#6f67af',
    500: '#242e8d',
    950: '#000000',
  },
}
SCSS
$custom: #242e8d;
$custom-light: #6f67af;
$custom-dark: #000000;
JSON
{
  "hex": "#242e8d",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 234.286,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36116,
    "c": 0.15543,
    "h": 271.3
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#242E8D
secondary
#B8AF54
accent
#D445E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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