#242E8F#242E8F

#242E8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.158 H 271.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#242E8F
RGBrgb(36, 46, 143)
HSLhsl(234, 60%, 35%)
HSVhsv(234, 75%, 56%)
CMYKcmyk(74.8%, 67.8%, 0%, 43.9%)
CIE-LABlab(24.68, 30.82, -54.68)
CIE-LCHlch(24.68, 62.77, 299.40°)
OKLaboklab(36.31% 0.0034 -0.1581)
OKLCHoklch(36.31% 0.158 271.2)
XYZxyz(6.6608, 4.3115, 26.4624)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E8F #8F8524
analogous
#24638F #242E8F #50248F
triadic
#242E8F #8F242E #2E8F24
tetradic
#242E8F #8F2463 #8F8524 #248F50
square
#242E8F #8F2463 #8F8524 #248F50
split-complementary
#242E8F #8F5024 #638F24
monochromatic
#0B0F2D #181E5E #242E8F #303EC0 #5864D5

Accessibility & contrast

On white

11.28
#242E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#242E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E8F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E8F#FFFFFF#000000##FFFFFF
##242E8F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242e8f;
/* rgb */ color: rgb(36, 46, 143);
/* oklch */ color: oklch(36.3% 0.158 271.2);
Tailwind
colors: {
  custom: {
    50: '#7067b1',
    500: '#242e8f',
    950: '#000000',
  },
}
SCSS
$custom: #242e8f;
$custom-light: #7067b1;
$custom-dark: #000000;
JSON
{
  "hex": "#242e8f",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 234.393,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36312,
    "c": 0.15815,
    "h": 271.2
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#242E8F
secondary
#B9B055
accent
#D445E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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