#242E73#242E73

#242E73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.118 H 272.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#242E73
RGBrgb(36, 46, 115)
HSLhsl(232, 52%, 30%)
HSVhsv(232, 69%, 45%)
CMYKcmyk(68.7%, 60%, 0%, 54.9%)
CIE-LABlab(22.18, 20.21, -41.12)
CIE-LCHlch(22.18, 45.82, 296.17°)
OKLaboklab(33.7% 0.0045 -0.1183)
OKLCHoklch(33.7% 0.118 272.2)
XYZxyz(4.7980, 3.5664, 16.6519)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E73 #736924
analogous
#245673 #242E73 #422473
triadic
#242E73 #73242E #2E7324
tetradic
#242E73 #732456 #736924 #247342
square
#242E73 #732456 #736924 #247342
split-complementary
#242E73 #734224 #567324
monochromatic
#070917 #151B44 #242E73 #3341A2 #4B5AC7

Accessibility & contrast

On white

12.26
#242E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242E73
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E73#FFFFFF#000000##FFFFFF
##242E731.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242e73;
/* rgb */ color: rgb(36, 46, 115);
/* oklch */ color: oklch(33.7% 0.118 272.2);
Tailwind
colors: {
  custom: {
    50: '#69669c',
    500: '#242e73',
    950: '#000000',
  },
}
SCSS
$custom: #242e73;
$custom-light: #69669c;
$custom-dark: #000000;
JSON
{
  "hex": "#242e73",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 232.405,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33703,
    "c": 0.11843,
    "h": 272.2
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#242E73
secondary
#A69B4D
accent
#CA4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #242E73

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

Preview Lab → · Contrast checker → · Palette generator →

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