#242E72#242E72

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

Color values

HEX#242E72
RGBrgb(36, 46, 114)
HSLhsl(232, 52%, 29%)
HSVhsv(232, 68%, 45%)
CMYKcmyk(68.4%, 59.6%, 0%, 55.3%)
CIE-LABlab(22.10, 19.82, -40.61)
CIE-LCHlch(22.10, 45.19, 296.02°)
OKLaboklab(33.62% 0.0045 -0.1168)
OKLCHoklch(33.62% 0.117 272.2)
XYZxyz(4.7408, 3.5435, 16.3505)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E72 #726824
analogous
#245572 #242E72 #412472
triadic
#242E72 #72242E #2E7224
tetradic
#242E72 #722455 #726824 #247241
square
#242E72 #722455 #726824 #247241
split-complementary
#242E72 #724124 #557224
monochromatic
#070917 #151B43 #242E72 #3341A1 #4A5AC6

Accessibility & contrast

On white

12.29
#242E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#242E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E72
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E72#FFFFFF#000000##FFFFFF
##242E721.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242e72;
/* rgb */ color: rgb(36, 46, 114);
/* oklch */ color: oklch(33.6% 0.117 272.2);
Tailwind
colors: {
  custom: {
    50: '#69669b',
    500: '#242e72',
    950: '#000000',
  },
}
SCSS
$custom: #242e72;
$custom-light: #69669b;
$custom-dark: #000000;
JSON
{
  "hex": "#242e72",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 232.308,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33616,
    "c": 0.11693,
    "h": 272.2
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#242E72
secondary
#A59A4D
accent
#C94CDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #242E72

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

Preview Lab → · Contrast checker → · Palette generator →

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