#242E91#242E91

#242E91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.161 H 271.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#242E91
RGBrgb(36, 46, 145)
HSLhsl(234, 60%, 35%)
HSVhsv(234, 75%, 57%)
CMYKcmyk(75.2%, 68.3%, 0%, 43.1%)
CIE-LABlab(24.87, 31.55, -55.60)
CIE-LCHlch(24.87, 63.93, 299.57°)
OKLaboklab(36.51% 0.0033 -0.1608)
OKLCHoklch(36.51% 0.161 271.2)
XYZxyz(6.8136, 4.3727, 27.2675)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E91 #918724
analogous
#246591 #242E91 #502491
triadic
#242E91 #91242E #2E9124
tetradic
#242E91 #912465 #918724 #249150
square
#242E91 #912465 #918724 #249150
split-complementary
#242E91 #915024 #659124
monochromatic
#0C0F2F #181E60 #242E91 #303EC2 #5965D6

Accessibility & contrast

On white

11.20
#242E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#242E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E91
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E91#FFFFFF#000000##FFFFFF
##242E911.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242e91;
/* rgb */ color: rgb(36, 46, 145);
/* oklch */ color: oklch(36.5% 0.161 271.2);
Tailwind
colors: {
  custom: {
    50: '#7067b2',
    500: '#242e91',
    950: '#000000',
  },
}
SCSS
$custom: #242e91;
$custom-light: #7067b2;
$custom-dark: #000000;
JSON
{
  "hex": "#242e91",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 234.495,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.16084,
    "h": 271.2
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#242E91
secondary
#BAB156
accent
#D544E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242E91

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

Preview Lab → · Contrast checker → · Palette generator →

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