#242F70#242F70

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

Color values

HEX#242F70
RGBrgb(36, 47, 112)
HSLhsl(231, 51%, 29%)
HSVhsv(231, 68%, 44%)
CMYKcmyk(67.9%, 58%, 0%, 56.1%)
CIE-LABlab(22.22, 18.35, -39.13)
CIE-LCHlch(22.22, 43.22, 295.12°)
OKLaboklab(33.66% 0.0034 -0.1125)
OKLCHoklch(33.66% 0.113 271.7)
XYZxyz(4.6677, 3.5775, 15.7706)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F70 #706524
analogous
#245570 #242F70 #3F2470
triadic
#242F70 #70242F #2F7024
tetradic
#242F70 #702455 #706524 #24703F
square
#242F70 #702455 #706524 #24703F
split-complementary
#242F70 #703F24 #557024
monochromatic
#070A17 #151C42 #242F70 #33429E #4A5BC5

Accessibility & contrast

On white

12.24
#242F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#242F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F70
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F70#FFFFFF#000000##FFFFFF
##242F701.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242f70;
/* rgb */ color: rgb(36, 47, 112);
/* oklch */ color: oklch(33.7% 0.113 271.7);
Tailwind
colors: {
  custom: {
    50: '#68679a',
    500: '#242f70',
    950: '#000000',
  },
}
SCSS
$custom: #242f70;
$custom-light: #68679a;
$custom-dark: #000000;
JSON
{
  "hex": "#242f70",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 231.316,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.11252,
    "h": 271.7
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#242F70
secondary
#A3974D
accent
#C64DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #242F70

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

Preview Lab → · Contrast checker → · Palette generator →

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