#242E8A#242E8A

#242E8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.151 H 271.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#242E8A
RGBrgb(36, 46, 138)
HSLhsl(234, 59%, 34%)
HSVhsv(234, 74%, 54%)
CMYKcmyk(73.9%, 66.7%, 0%, 45.9%)
CIE-LABlab(24.20, 28.95, -52.35)
CIE-LCHlch(24.20, 59.82, 298.95°)
OKLaboklab(35.82% 0.0038 -0.1513)
OKLCHoklch(35.82% 0.151 271.5)
XYZxyz(6.2904, 4.1634, 24.5119)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E8A #8A8024
analogous
#24618A #242E8A #4D248A
triadic
#242E8A #8A242E #2E8A24
tetradic
#242E8A #8A2461 #8A8024 #248A4D
square
#242E8A #8A2461 #8A8024 #248A4D
split-complementary
#242E8A #8A4D24 #618A24
monochromatic
#0B0E29 #171E59 #242E8A #313EBB #5662D3

Accessibility & contrast

On white

11.46
#242E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242E8A
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E8A#FFFFFF#000000##FFFFFF
##242E8A1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242e8a;
/* rgb */ color: rgb(36, 46, 138);
/* oklch */ color: oklch(35.8% 0.151 271.5);
Tailwind
colors: {
  custom: {
    50: '#6f67ad',
    500: '#242e8a',
    950: '#000000',
  },
}
SCSS
$custom: #242e8a;
$custom-light: #6f67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#242e8a",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 234.118,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35824,
    "c": 0.15133,
    "h": 271.5
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#242E8A
secondary
#B7AD53
accent
#D346E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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