#242D86#242D86

#242D86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.147 H 271.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#242D86
RGBrgb(36, 45, 134)
HSLhsl(234, 58%, 33%)
HSVhsv(234, 73%, 53%)
CMYKcmyk(73.1%, 66.4%, 0%, 47.5%)
CIE-LABlab(23.58, 28.12, -50.87)
CIE-LCHlch(23.58, 58.13, 298.93°)
OKLaboklab(35.25% 0.0048 -0.147)
OKLCHoklch(35.25% 0.147 271.9)
XYZxyz(5.9676, 3.9725, 23.0019)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D86 #867D24
analogous
#245E86 #242D86 #4C2486
triadic
#242D86 #86242D #2D8624
tetradic
#242D86 #86245E #867D24 #24864C
square
#242D86 #86245E #867D24 #24864C
split-complementary
#242D86 #864C24 #5E8624
monochromatic
#0A0D26 #171D56 #242D86 #313DB6 #535FD1

Accessibility & contrast

On white

11.70
#242D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#242D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D86
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D86#FFFFFF#000000##FFFFFF
##242D861.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242d86;
/* rgb */ color: rgb(36, 45, 134);
/* oklch */ color: oklch(35.3% 0.147 271.9);
Tailwind
colors: {
  custom: {
    50: '#6e66aa',
    500: '#242d86',
    950: '#000000',
  },
}
SCSS
$custom: #242d86;
$custom-light: #6e66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#242d86",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 234.49,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35253,
    "c": 0.14705,
    "h": 271.9
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#242D86
secondary
#B5AC51
accent
#D347E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242D86

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

Preview Lab → · Contrast checker → · Palette generator →

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