#242B89#242B89

#242B89 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.154 H 272.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#242B89
RGBrgb(36, 43, 137)
HSLhsl(236, 58%, 34%)
HSVhsv(236, 74%, 54%)
CMYKcmyk(73.7%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.37, 30.56, -53.10)
CIE-LCHlch(23.37, 61.27, 299.92°)
OKLaboklab(35.18% 0.006 -0.1535)
OKLCHoklch(35.18% 0.154 272.2)
XYZxyz(6.1053, 3.9084, 24.0947)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B89 #898224
analogous
#245E89 #242B89 #502489
triadic
#242B89 #89242B #2B8924
tetradic
#242B89 #89245E #898224 #248950
square
#242B89 #89245E #898224 #248950
split-complementary
#242B89 #895024 #5E8924
monochromatic
#0B0D28 #171C59 #242B89 #313AB9 #555ED2

Accessibility & contrast

On white

11.79
#242B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#242B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B89
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B89#FFFFFF#000000##FFFFFF
##242B891.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242b89;
/* rgb */ color: rgb(36, 43, 137);
/* oklch */ color: oklch(35.2% 0.154 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f64ac',
    500: '#242b89',
    950: '#000000',
  },
}
SCSS
$custom: #242b89;
$custom-light: #6f64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#242b89",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 235.842,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35184,
    "c": 0.15362,
    "h": 272.2
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#242B89
secondary
#B7B052
accent
#D746E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #242B89

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

Preview Lab → · Contrast checker → · Palette generator →

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