#242D70#242D70

#242D70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.115 H 272.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#242D70
RGBrgb(36, 45, 112)
HSLhsl(233, 51%, 29%)
HSVhsv(233, 68%, 44%)
CMYKcmyk(67.9%, 59.8%, 0%, 56.1%)
CIE-LABlab(21.66, 19.76, -40.05)
CIE-LCHlch(21.66, 44.66, 296.26°)
OKLaboklab(33.23% 0.0054 -0.1152)
OKLCHoklch(33.23% 0.115 272.7)
XYZxyz(4.5896, 3.4213, 15.7446)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D70 #706724
analogous
#245370 #242D70 #412470
triadic
#242D70 #70242D #2D7024
tetradic
#242D70 #702453 #706724 #247041
square
#242D70 #702453 #706724 #247041
split-complementary
#242D70 #704124 #537024
monochromatic
#070917 #151A42 #242D70 #33409E #4A58C5

Accessibility & contrast

On white

12.47
#242D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242D70
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D70#FFFFFF#000000##FFFFFF
##242D701.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242d70;
/* rgb */ color: rgb(36, 45, 112);
/* oklch */ color: oklch(33.2% 0.115 272.7);
Tailwind
colors: {
  custom: {
    50: '#68659a',
    500: '#242d70',
    950: '#000000',
  },
}
SCSS
$custom: #242d70;
$custom-light: #68659a;
$custom-dark: #000000;
JSON
{
  "hex": "#242d70",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 232.895,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33234,
    "c": 0.11532,
    "h": 272.7
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#242D70
secondary
#A3994D
accent
#CA4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #242D70

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

Preview Lab → · Contrast checker → · Palette generator →

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