#242D85#242D85

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

Color values

HEX#242D85
RGBrgb(36, 45, 133)
HSLhsl(234, 57%, 33%)
HSVhsv(234, 73%, 52%)
CMYKcmyk(72.9%, 66.2%, 0%, 47.8%)
CIE-LABlab(23.49, 27.75, -50.40)
CIE-LCHlch(23.49, 57.53, 298.84°)
OKLaboklab(35.16% 0.0049 -0.1456)
OKLCHoklch(35.16% 0.146 271.9)
XYZxyz(5.8981, 3.9447, 22.6363)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D85 #857C24
analogous
#245D85 #242D85 #4B2485
triadic
#242D85 #85242D #2D8524
tetradic
#242D85 #85245D #857C24 #24854B
square
#242D85 #85245D #857C24 #24854B
split-complementary
#242D85 #854B24 #5D8524
monochromatic
#0A0C25 #171D55 #242D85 #313DB5 #535FD0

Accessibility & contrast

On white

11.74
#242D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#242D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D85
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D85#FFFFFF#000000##FFFFFF
##242D851.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242d85;
/* rgb */ color: rgb(36, 45, 133);
/* oklch */ color: oklch(35.2% 0.146 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d66a9',
    500: '#242d85',
    950: '#000000',
  },
}
SCSS
$custom: #242d85;
$custom-light: #6d66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#242d85",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 234.433,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35157,
    "c": 0.14566,
    "h": 271.9
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#242D85
secondary
#B4AB50
accent
#D247E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242D85

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

Preview Lab → · Contrast checker → · Palette generator →

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