#242D80#242D80

#242D80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.139 H 272.1°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#242D80
RGBrgb(36, 45, 128)
HSLhsl(234, 56%, 32%)
HSVhsv(234, 72%, 50%)
CMYKcmyk(71.9%, 64.8%, 0%, 49.8%)
CIE-LABlab(23.03, 25.86, -48.00)
CIE-LCHlch(23.03, 54.52, 298.32°)
OKLaboklab(34.68% 0.0052 -0.1385)
OKLCHoklch(34.68% 0.139 272.1)
XYZxyz(5.5609, 3.8098, 20.8602)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D80 #807724
analogous
#245B80 #242D80 #492480
triadic
#242D80 #80242D #2D8024
tetradic
#242D80 #80245B #807724 #248049
square
#242D80 #80245B #807724 #248049
split-complementary
#242D80 #804924 #5B8024
monochromatic
#090B20 #171C50 #242D80 #313EB0 #505DCE

Accessibility & contrast

On white

11.92
#242D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#242D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D80
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D80#FFFFFF#000000##FFFFFF
##242D801.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #242d80;
/* rgb */ color: rgb(36, 45, 128);
/* oklch */ color: oklch(34.7% 0.139 272.1);
Tailwind
colors: {
  custom: {
    50: '#6c66a6',
    500: '#242d80',
    950: '#000000',
  },
}
SCSS
$custom: #242d80;
$custom-light: #6c66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#242d80",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 234.13,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34682,
    "c": 0.13865,
    "h": 272.1
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#242D80
secondary
#B2A84E
accent
#D148DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #242D80

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

Preview Lab → · Contrast checker → · Palette generator →

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