#242F82#242F82

#242F82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.139 H 271.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#242F82
RGBrgb(36, 47, 130)
HSLhsl(233, 57%, 33%)
HSVhsv(233, 72%, 51%)
CMYKcmyk(72.3%, 63.8%, 0%, 49%)
CIE-LABlab(23.73, 25.26, -48.11)
CIE-LCHlch(23.73, 54.34, 297.70°)
OKLaboklab(35.25% 0.0035 -0.1388)
OKLCHoklch(35.25% 0.139 271.4)
XYZxyz(5.7720, 4.0192, 21.5864)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F82 #827724
analogous
#245E82 #242F82 #482482
triadic
#242F82 #82242F #2F8224
tetradic
#242F82 #82245E #827724 #248248
square
#242F82 #82245E #827724 #248248
split-complementary
#242F82 #824824 #5E8224
monochromatic
#090C22 #171E52 #242F82 #3140B2 #5160CF

Accessibility & contrast

On white

11.64
#242F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#242F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F82
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F82#FFFFFF#000000##FFFFFF
##242F821.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242f82;
/* rgb */ color: rgb(36, 47, 130);
/* oklch */ color: oklch(35.3% 0.139 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d67a7',
    500: '#242f82',
    950: '#000000',
  },
}
SCSS
$custom: #242f82;
$custom-light: #6d67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#242f82",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 232.979,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35254,
    "c": 0.13889,
    "h": 271.4
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#242F82
secondary
#B3A74F
accent
#CE48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #242F82

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

Preview Lab → · Contrast checker → · Palette generator →

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