#242E90#242E90

#242E90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.160 H 271.2°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#242E90
RGBrgb(36, 46, 144)
HSLhsl(234, 60%, 35%)
HSVhsv(234, 75%, 56%)
CMYKcmyk(75%, 68.1%, 0%, 43.5%)
CIE-LABlab(24.77, 31.19, -55.14)
CIE-LCHlch(24.77, 63.35, 299.49°)
OKLaboklab(36.41% 0.0034 -0.1595)
OKLCHoklch(36.41% 0.16 271.2)
XYZxyz(6.7369, 4.3420, 26.8632)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E90 #908624
analogous
#246490 #242E90 #502490
triadic
#242E90 #90242E #2E9024
tetradic
#242E90 #902464 #908624 #249050
square
#242E90 #902464 #908624 #249050
split-complementary
#242E90 #905024 #649024
monochromatic
#0C0F2E #181E5F #242E90 #303EC1 #5964D5

Accessibility & contrast

On white

11.24
#242E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242E90
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E90#FFFFFF#000000##FFFFFF
##242E901.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242e90;
/* rgb */ color: rgb(36, 46, 144);
/* oklch */ color: oklch(36.4% 0.160 271.2);
Tailwind
colors: {
  custom: {
    50: '#7067b1',
    500: '#242e90',
    950: '#000000',
  },
}
SCSS
$custom: #242e90;
$custom-light: #7067b1;
$custom-dark: #000000;
JSON
{
  "hex": "#242e90",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 234.444,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36411,
    "c": 0.1595,
    "h": 271.2
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242E90

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

Preview Lab → · Contrast checker → · Palette generator →

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