#242E89#242E89

#242E89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.150 H 271.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#242E89
RGBrgb(36, 46, 137)
HSLhsl(234, 58%, 34%)
HSVhsv(234, 74%, 54%)
CMYKcmyk(73.7%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.11, 28.58, -51.88)
CIE-LCHlch(24.11, 59.23, 298.85°)
OKLaboklab(35.73% 0.0039 -0.1499)
OKLCHoklch(35.73% 0.15 271.5)
XYZxyz(6.2184, 4.1346, 24.1324)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E89 #897F24
analogous
#246189 #242E89 #4D2489
triadic
#242E89 #89242E #2E8924
tetradic
#242E89 #892461 #897F24 #24894D
square
#242E89 #892461 #897F24 #24894D
split-complementary
#242E89 #894D24 #618924
monochromatic
#0B0D28 #171E59 #242E89 #313EB9 #5561D2

Accessibility & contrast

On white

11.49
#242E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242E89
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E89#FFFFFF#000000##FFFFFF
##242E891.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242e89;
/* rgb */ color: rgb(36, 46, 137);
/* oklch */ color: oklch(35.7% 0.150 271.5);
Tailwind
colors: {
  custom: {
    50: '#6e67ac',
    500: '#242e89',
    950: '#000000',
  },
}
SCSS
$custom: #242e89;
$custom-light: #6e67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#242e89",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 234.059,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35727,
    "c": 0.14995,
    "h": 271.5
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#242E89
secondary
#B7AD52
accent
#D246E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242E89

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

Preview Lab → · Contrast checker → · Palette generator →

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