#242E71#242E71

#242E71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.115 H 272.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#242E71
RGBrgb(36, 46, 113)
HSLhsl(232, 52%, 29%)
HSVhsv(232, 68%, 44%)
CMYKcmyk(68.1%, 59.3%, 0%, 55.7%)
CIE-LABlab(22.02, 19.44, -40.10)
CIE-LCHlch(22.02, 44.57, 295.86°)
OKLaboklab(33.53% 0.0044 -0.1153)
OKLCHoklch(33.53% 0.115 272.2)
XYZxyz(4.6842, 3.5209, 16.0523)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E71 #716724
analogous
#245571 #242E71 #412471
triadic
#242E71 #71242E #2E7124
tetradic
#242E71 #712455 #716724 #247141
square
#242E71 #712455 #716724 #247141
split-complementary
#242E71 #714124 #557124
monochromatic
#070917 #151B43 #242E71 #33419F #4A5AC5

Accessibility & contrast

On white

12.32
#242E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#242E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E71
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E71#FFFFFF#000000##FFFFFF
##242E711.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242e71;
/* rgb */ color: rgb(36, 46, 113);
/* oklch */ color: oklch(33.5% 0.115 272.2);
Tailwind
colors: {
  custom: {
    50: '#69669a',
    500: '#242e71',
    950: '#000000',
  },
}
SCSS
$custom: #242e71;
$custom-light: #69669a;
$custom-dark: #000000;
JSON
{
  "hex": "#242e71",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 232.208,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3353,
    "c": 0.11543,
    "h": 272.2
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#242E71
secondary
#A4994D
accent
#C94DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #242E71

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

Preview Lab → · Contrast checker → · Palette generator →

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