#242F85#242F85

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

Color values

HEX#242F85
RGBrgb(36, 47, 133)
HSLhsl(233, 57%, 33%)
HSVhsv(233, 73%, 52%)
CMYKcmyk(72.9%, 64.7%, 0%, 47.8%)
CIE-LABlab(24.00, 26.40, -49.56)
CIE-LCHlch(24.00, 56.15, 298.04°)
OKLaboklab(35.53% 0.0034 -0.1431)
OKLCHoklch(35.53% 0.143 271.4)
XYZxyz(5.9763, 4.1010, 22.6624)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F85 #857A24
analogous
#245F85 #242F85 #492485
triadic
#242F85 #85242F #2F8524
tetradic
#242F85 #85245F #857A24 #248549
square
#242F85 #85245F #857A24 #248549
split-complementary
#242F85 #854924 #5F8524
monochromatic
#0A0D25 #171E55 #242F85 #3140B5 #5361D0

Accessibility & contrast

On white

11.54
#242F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#242F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F85
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F85#FFFFFF#000000##FFFFFF
##242F851.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242f85;
/* rgb */ color: rgb(36, 47, 133);
/* oklch */ color: oklch(35.5% 0.143 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d67a9',
    500: '#242f85',
    950: '#000000',
  },
}
SCSS
$custom: #242f85;
$custom-light: #6d67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#242f85",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 233.196,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35535,
    "c": 0.14313,
    "h": 271.4
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#242F85
secondary
#B4A950
accent
#CF47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242F85

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

Preview Lab → · Contrast checker → · Palette generator →

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