#242F50#242F50

#242F50 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.061 H 268.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#242F50
RGBrgb(36, 47, 80)
HSLhsl(225, 38%, 23%)
HSVhsv(225, 55%, 31%)
CMYKcmyk(55%, 41.3%, 0%, 68.6%)
CIE-LABlab(19.99, 6.17, -21.70)
CIE-LCHlch(19.99, 22.56, 285.88°)
OKLaboklab(31.24% -0.0013 -0.0613)
OKLCHoklch(31.24% 0.061 268.7)
XYZxyz(3.1916, 2.9871, 7.9962)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F50 #504524
analogous
#244550 #242F50 #2F2450
triadic
#242F50 #50242F #2F5024
tetradic
#242F50 #502445 #504524 #24502F
square
#242F50 #502445 #504524 #24502F
split-complementary
#242F50 #502F24 #455024
monochromatic
#090C15 #111626 #242F50 #37487A #4A61A4

Accessibility & contrast

On white

13.15
#242F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#242F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F50
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F50#FFFFFF#000000##FFFFFF
##242F501.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223251
Deuteranopia (green-blind)
#1E2E4F
Tritanopia (blue-blind)
#11363B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242f50;
/* rgb */ color: rgb(36, 47, 80);
/* oklch */ color: oklch(31.2% 0.061 268.7);
Tailwind
colors: {
  custom: {
    50: '#626781',
    500: '#242f50',
    950: '#000000',
  },
}
SCSS
$custom: #242f50;
$custom-light: #626781;
$custom-dark: #000000;
JSON
{
  "hex": "#242f50",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 80
  },
  "hsl": {
    "h": 225,
    "s": 37.931,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31244,
    "c": 0.0613,
    "h": 268.7
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#242F50
secondary
#83764C
accent
#B15ACE
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #242F50

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

Preview Lab → · Contrast checker → · Palette generator →

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