#242D90#242D90

#242D90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.161 H 271.4°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#242D90
RGBrgb(36, 45, 144)
HSLhsl(235, 60%, 35%)
HSVhsv(235, 75%, 56%)
CMYKcmyk(75%, 68.7%, 0%, 43.5%)
CIE-LABlab(24.53, 31.84, -55.54)
CIE-LCHlch(24.53, 64.02, 299.82°)
OKLaboklab(36.23% 0.004 -0.1606)
OKLCHoklch(36.23% 0.161 271.4)
XYZxyz(6.6983, 4.2648, 26.8503)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D90 #908724
analogous
#246390 #242D90 #512490
triadic
#242D90 #90242D #2D9024
tetradic
#242D90 #902463 #908724 #249051
square
#242D90 #902463 #908724 #249051
split-complementary
#242D90 #905124 #639024
monochromatic
#0C0E2E #181E5F #242D90 #303CC1 #5963D5

Accessibility & contrast

On white

11.33
#242D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#242D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D90
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D90#FFFFFF#000000##FFFFFF
##242D901.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242d90;
/* rgb */ color: rgb(36, 45, 144);
/* oklch */ color: oklch(36.2% 0.161 271.4);
Tailwind
colors: {
  custom: {
    50: '#7066b1',
    500: '#242d90',
    950: '#000000',
  },
}
SCSS
$custom: #242d90;
$custom-light: #7066b1;
$custom-dark: #000000;
JSON
{
  "hex": "#242d90",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 235,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36234,
    "c": 0.16068,
    "h": 271.4
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#242D90
secondary
#BAB256
accent
#D645E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242D90

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

Preview Lab → · Contrast checker → · Palette generator →

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