#242E70#242E70

#242E70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.114 H 272.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#242E70
RGBrgb(36, 46, 112)
HSLhsl(232, 51%, 29%)
HSVhsv(232, 68%, 44%)
CMYKcmyk(67.9%, 58.9%, 0%, 56.1%)
CIE-LABlab(21.94, 19.05, -39.59)
CIE-LCHlch(21.94, 43.94, 295.70°)
OKLaboklab(33.44% 0.0044 -0.1138)
OKLCHoklch(33.44% 0.114 272.2)
XYZxyz(4.6282, 3.4985, 15.7575)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E70 #706624
analogous
#245470 #242E70 #402470
triadic
#242E70 #70242E #2E7024
tetradic
#242E70 #702454 #706624 #247040
square
#242E70 #702454 #706624 #247040
split-complementary
#242E70 #704024 #547024
monochromatic
#070A17 #151B42 #242E70 #33419E #4A5AC5

Accessibility & contrast

On white

12.35
#242E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#242E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E70
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E70#FFFFFF#000000##FFFFFF
##242E701.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242e70;
/* rgb */ color: rgb(36, 46, 112);
/* oklch */ color: oklch(33.4% 0.114 272.2);
Tailwind
colors: {
  custom: {
    50: '#68669a',
    500: '#242e70',
    950: '#000000',
  },
}
SCSS
$custom: #242e70;
$custom-light: #68669a;
$custom-dark: #000000;
JSON
{
  "hex": "#242e70",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 232.105,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33444,
    "c": 0.11393,
    "h": 272.2
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#242E70
secondary
#A3984D
accent
#C84DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #242E70

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

Preview Lab → · Contrast checker → · Palette generator →

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