#242B71#242B71

#242B71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.120 H 273.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#242B71
RGBrgb(36, 43, 113)
HSLhsl(235, 52%, 29%)
HSVhsv(235, 68%, 44%)
CMYKcmyk(68.1%, 61.9%, 0%, 55.7%)
CIE-LABlab(21.19, 21.54, -41.46)
CIE-LCHlch(21.19, 46.72, 297.45°)
OKLaboklab(32.91% 0.0073 -0.1193)
OKLCHoklch(32.91% 0.12 273.5)
XYZxyz(4.5711, 3.2947, 16.0146)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B71 #716A24
analogous
#245271 #242B71 #442471
triadic
#242B71 #71242B #2B7124
tetradic
#242B71 #712452 #716A24 #247144
square
#242B71 #712452 #716A24 #247144
split-complementary
#242B71 #714424 #527124
monochromatic
#070917 #151943 #242B71 #333D9F #4A55C5

Accessibility & contrast

On white

12.66
#242B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#242B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B71
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B71#FFFFFF#000000##FFFFFF
##242B711.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242b71;
/* rgb */ color: rgb(36, 43, 113);
/* oklch */ color: oklch(32.9% 0.120 273.5);
Tailwind
colors: {
  custom: {
    50: '#69649a',
    500: '#242b71',
    950: '#000000',
  },
}
SCSS
$custom: #242b71;
$custom-light: #69649a;
$custom-dark: #000000;
JSON
{
  "hex": "#242b71",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 234.545,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32911,
    "c": 0.11957,
    "h": 273.5
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#242B71
secondary
#A49C4D
accent
#CE4DDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #242B71

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

Preview Lab → · Contrast checker → · Palette generator →

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