#242F84#242F84

#242F84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.142 H 271.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#242F84
RGBrgb(36, 47, 132)
HSLhsl(233, 57%, 33%)
HSVhsv(233, 73%, 52%)
CMYKcmyk(72.7%, 64.4%, 0%, 48.2%)
CIE-LABlab(23.91, 26.02, -49.08)
CIE-LCHlch(23.91, 55.55, 297.93°)
OKLaboklab(35.44% 0.0034 -0.1417)
OKLCHoklch(35.44% 0.142 271.4)
XYZxyz(5.9075, 4.0735, 22.3002)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F84 #847924
analogous
#245F84 #242F84 #492484
triadic
#242F84 #84242F #2F8424
tetradic
#242F84 #84245F #847924 #248449
square
#242F84 #84245F #847924 #248449
split-complementary
#242F84 #844924 #5F8424
monochromatic
#0A0D24 #171E54 #242F84 #3140B4 #5261D0

Accessibility & contrast

On white

11.57
#242F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#242F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F84
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F84#FFFFFF#000000##FFFFFF
##242F841.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242f84;
/* rgb */ color: rgb(36, 47, 132);
/* oklch */ color: oklch(35.4% 0.142 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d67a9',
    500: '#242f84',
    950: '#000000',
  },
}
SCSS
$custom: #242f84;
$custom-light: #6d67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#242f84",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 233.125,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35441,
    "c": 0.14172,
    "h": 271.4
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#242F84
secondary
#B4A850
accent
#CF47E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242F84

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

Preview Lab → · Contrast checker → · Palette generator →

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