#242E76#242E76

#242E76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.123 H 272.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#242E76
RGBrgb(36, 46, 118)
HSLhsl(233, 53%, 30%)
HSVhsv(233, 69%, 46%)
CMYKcmyk(69.5%, 61%, 0%, 53.7%)
CIE-LABlab(22.43, 21.36, -42.64)
CIE-LCHlch(22.43, 47.69, 296.61°)
OKLaboklab(33.97% 0.0045 -0.1228)
OKLCHoklch(33.97% 0.123 272.1)
XYZxyz(4.9735, 3.6366, 17.5759)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E76 #766C24
analogous
#245776 #242E76 #432476
triadic
#242E76 #76242E #2E7624
tetradic
#242E76 #762457 #766C24 #247643
square
#242E76 #762457 #766C24 #247643
split-complementary
#242E76 #764324 #577624
monochromatic
#070918 #161C47 #242E76 #3240A5 #4C5BC8

Accessibility & contrast

On white

12.16
#242E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#242E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E76
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E76#FFFFFF#000000##FFFFFF
##242E761.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242e76;
/* rgb */ color: rgb(36, 46, 118);
/* oklch */ color: oklch(34.0% 0.123 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a669e',
    500: '#242e76',
    950: '#000000',
  },
}
SCSS
$custom: #242e76;
$custom-light: #6a669e;
$custom-dark: #000000;
JSON
{
  "hex": "#242e76",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 232.683,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33967,
    "c": 0.12287,
    "h": 272.1
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#242E76
secondary
#A99E4D
accent
#CB4BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #242E76

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

Preview Lab → · Contrast checker → · Palette generator →

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