#242D84#242D84

#242D84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.144 H 272.0°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#242D84
RGBrgb(36, 45, 132)
HSLhsl(234, 57%, 33%)
HSVhsv(234, 73%, 52%)
CMYKcmyk(72.7%, 65.9%, 0%, 48.2%)
CIE-LABlab(23.40, 27.37, -49.92)
CIE-LCHlch(23.40, 56.93, 298.74°)
OKLaboklab(35.06% 0.005 -0.1442)
OKLCHoklch(35.06% 0.144 272)
XYZxyz(5.8294, 3.9172, 22.2742)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D84 #847B24
analogous
#245D84 #242D84 #4B2484
triadic
#242D84 #84242D #2D8424
tetradic
#242D84 #84245D #847B24 #24844B
square
#242D84 #84245D #847B24 #24844B
split-complementary
#242D84 #844B24 #5D8424
monochromatic
#0A0C24 #171D54 #242D84 #313DB4 #525ED0

Accessibility & contrast

On white

11.77
#242D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#242D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D84
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D84#FFFFFF#000000##FFFFFF
##242D841.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242d84;
/* rgb */ color: rgb(36, 45, 132);
/* oklch */ color: oklch(35.1% 0.144 272.0);
Tailwind
colors: {
  custom: {
    50: '#6d66a9',
    500: '#242d84',
    950: '#000000',
  },
}
SCSS
$custom: #242d84;
$custom-light: #6d66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#242d84",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 234.375,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35061,
    "c": 0.14426,
    "h": 272
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#242D84
secondary
#B4AB50
accent
#D247E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242D84

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

Preview Lab → · Contrast checker → · Palette generator →

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