#242C73#242C73

#242C73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.121 H 273.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#242C73
RGBrgb(36, 44, 115)
HSLhsl(234, 52%, 30%)
HSVhsv(234, 69%, 45%)
CMYKcmyk(68.7%, 61.7%, 0%, 54.9%)
CIE-LABlab(21.63, 21.61, -42.02)
CIE-LCHlch(21.63, 47.25, 297.21°)
OKLaboklab(33.29% 0.0064 -0.121)
OKLCHoklch(33.29% 0.121 273)
XYZxyz(4.7217, 3.4138, 16.6264)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C73 #736B24
analogous
#245473 #242C73 #442473
triadic
#242C73 #73242C #2C7324
tetradic
#242C73 #732454 #736B24 #247344
square
#242C73 #732454 #736B24 #247344
split-complementary
#242C73 #734424 #547324
monochromatic
#070917 #151A44 #242C73 #333EA2 #4B57C7

Accessibility & contrast

On white

12.48
#242C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#242C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C73
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C73#FFFFFF#000000##FFFFFF
##242C731.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242c73;
/* rgb */ color: rgb(36, 44, 115);
/* oklch */ color: oklch(33.3% 0.121 273.0);
Tailwind
colors: {
  custom: {
    50: '#69659c',
    500: '#242c73',
    950: '#000000',
  },
}
SCSS
$custom: #242c73;
$custom-light: #69659c;
$custom-dark: #000000;
JSON
{
  "hex": "#242c73",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 233.924,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33292,
    "c": 0.12117,
    "h": 273
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#242C73
secondary
#A69D4D
accent
#CD4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #242C73

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

Preview Lab → · Contrast checker → · Palette generator →

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