#242473#242473

#242473 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.132 H 275.9°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#242473
RGBrgb(36, 36, 115)
HSLhsl(240, 52%, 30%)
HSVhsv(240, 69%, 45%)
CMYKcmyk(68.7%, 68.7%, 0%, 54.9%)
CIE-LABlab(19.53, 27.08, -45.44)
CIE-LCHlch(19.53, 52.90, 300.79°)
OKLaboklab(31.75% 0.0134 -0.1311)
OKLCHoklch(31.75% 0.132 275.9)
XYZxyz(4.4519, 2.8742, 16.5365)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242473 #737324
analogous
#244C73 #242473 #4C2473
triadic
#242473 #732424 #247324
tetradic
#242473 #73244C #737324 #24734C
square
#242473 #73244C #737324 #24734C
split-complementary
#242473 #734C24 #4C7324
monochromatic
#070717 #151544 #242473 #3333A2 #4B4BC7

Accessibility & contrast

On white

13.33
#242473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#242473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242473
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242473#FFFFFF#000000##FFFFFF
##2424731.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #242473;
/* rgb */ color: rgb(36, 36, 115);
/* oklch */ color: oklch(31.8% 0.132 275.9);
Tailwind
colors: {
  custom: {
    50: '#6a5f9c',
    500: '#242473',
    950: '#000000',
  },
}
SCSS
$custom: #242473;
$custom-light: #6a5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#242473",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31751,
    "c": 0.1318,
    "h": 275.9
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#242473
secondary
#A6A64D
accent
#DC4CDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242473

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

Preview Lab → · Contrast checker → · Palette generator →

#242473 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva