#242E85#242E85

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

Color values

HEX#242E85
RGBrgb(36, 46, 133)
HSLhsl(234, 57%, 33%)
HSVhsv(234, 73%, 52%)
CMYKcmyk(72.9%, 65.4%, 0%, 47.8%)
CIE-LABlab(23.74, 27.08, -49.98)
CIE-LCHlch(23.74, 56.84, 298.45°)
OKLaboklab(35.34% 0.0041 -0.1443)
OKLCHoklch(35.34% 0.144 271.6)
XYZxyz(5.9368, 4.0219, 22.6492)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E85 #857B24
analogous
#245E85 #242E85 #4A2485
triadic
#242E85 #85242E #2E8524
tetradic
#242E85 #85245E #857B24 #24854A
square
#242E85 #85245E #857B24 #24854A
split-complementary
#242E85 #854A24 #5E8524
monochromatic
#0A0D25 #171D55 #242E85 #313FB5 #5360D0

Accessibility & contrast

On white

11.64
#242E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#242E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E85
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E85#FFFFFF#000000##FFFFFF
##242E851.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242e85;
/* rgb */ color: rgb(36, 46, 133);
/* oklch */ color: oklch(35.3% 0.144 271.6);
Tailwind
colors: {
  custom: {
    50: '#6d66a9',
    500: '#242e85',
    950: '#000000',
  },
}
SCSS
$custom: #242e85;
$custom-light: #6d66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#242e85",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 233.814,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.1444,
    "h": 271.6
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242E85

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

Preview Lab → · Contrast checker → · Palette generator →

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