#242E86#242E86

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

Color values

HEX#242E86
RGBrgb(36, 46, 134)
HSLhsl(234, 58%, 33%)
HSVhsv(234, 73%, 53%)
CMYKcmyk(73.1%, 65.7%, 0%, 47.5%)
CIE-LABlab(23.84, 27.45, -50.46)
CIE-LCHlch(23.84, 57.44, 298.55°)
OKLaboklab(35.44% 0.0041 -0.1457)
OKLCHoklch(35.44% 0.146 271.6)
XYZxyz(6.0062, 4.0497, 23.0148)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E86 #867C24
analogous
#245F86 #242E86 #4B2486
triadic
#242E86 #86242E #2E8624
tetradic
#242E86 #86245F #867C24 #24864B
square
#242E86 #86245F #867C24 #24864B
split-complementary
#242E86 #864B24 #5F8624
monochromatic
#0A0D26 #171D56 #242E86 #313FB6 #5360D1

Accessibility & contrast

On white

11.60
#242E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242E86
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E86#FFFFFF#000000##FFFFFF
##242E861.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242e86;
/* rgb */ color: rgb(36, 46, 134);
/* oklch */ color: oklch(35.4% 0.146 271.6);
Tailwind
colors: {
  custom: {
    50: '#6e66aa',
    500: '#242e86',
    950: '#000000',
  },
}
SCSS
$custom: #242e86;
$custom-light: #6e66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#242e86",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 233.878,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3544,
    "c": 0.1458,
    "h": 271.6
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#242E86
secondary
#B5AB51
accent
#D147E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242E86

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

Preview Lab → · Contrast checker → · Palette generator →

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