#242F86#242F86

#242F86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.145 H 271.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#242F86
RGBrgb(36, 47, 134)
HSLhsl(233, 58%, 33%)
HSVhsv(233, 73%, 53%)
CMYKcmyk(73.1%, 64.9%, 0%, 47.5%)
CIE-LABlab(24.09, 26.78, -50.03)
CIE-LCHlch(24.09, 56.75, 298.16°)
OKLaboklab(35.63% 0.0033 -0.1445)
OKLCHoklch(35.63% 0.145 271.3)
XYZxyz(6.0457, 4.1287, 23.0279)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F86 #867B24
analogous
#246086 #242F86 #4A2486
triadic
#242F86 #86242F #2F8624
tetradic
#242F86 #862460 #867B24 #24864A
square
#242F86 #862460 #867B24 #24864A
split-complementary
#242F86 #864A24 #608624
monochromatic
#0A0D26 #171E56 #242F86 #3140B6 #5362D1

Accessibility & contrast

On white

11.50
#242F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#242F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F86
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F86#FFFFFF#000000##FFFFFF
##242F861.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242f86;
/* rgb */ color: rgb(36, 47, 134);
/* oklch */ color: oklch(35.6% 0.145 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d67aa',
    500: '#242f86',
    950: '#000000',
  },
}
SCSS
$custom: #242f86;
$custom-light: #6d67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#242f86",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 233.265,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35629,
    "c": 0.14454,
    "h": 271.3
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#242F86
secondary
#B5AA51
accent
#D047E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242F86

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

Preview Lab → · Contrast checker → · Palette generator →

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