#242E75#242E75

#242E75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.121 H 272.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#242E75
RGBrgb(36, 46, 117)
HSLhsl(233, 53%, 30%)
HSVhsv(233, 69%, 46%)
CMYKcmyk(69.2%, 60.7%, 0%, 54.1%)
CIE-LABlab(22.35, 20.98, -42.13)
CIE-LCHlch(22.35, 47.07, 296.47°)
OKLaboklab(33.88% 0.0045 -0.1213)
OKLCHoklch(33.88% 0.121 272.1)
XYZxyz(4.9144, 3.6130, 17.2646)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E75 #756B24
analogous
#245675 #242E75 #432475
triadic
#242E75 #75242E #2E7524
tetradic
#242E75 #752456 #756B24 #247543
square
#242E75 #752456 #756B24 #247543
split-complementary
#242E75 #754324 #567524
monochromatic
#070917 #161C46 #242E75 #3240A4 #4C5BC8

Accessibility & contrast

On white

12.19
#242E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242E75
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E75#FFFFFF#000000##FFFFFF
##242E751.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242e75;
/* rgb */ color: rgb(36, 46, 117);
/* oklch */ color: oklch(33.9% 0.121 272.1);
Tailwind
colors: {
  custom: {
    50: '#69669d',
    500: '#242e75',
    950: '#000000',
  },
}
SCSS
$custom: #242e75;
$custom-light: #69669d;
$custom-dark: #000000;
JSON
{
  "hex": "#242e75",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 232.593,
    "s": 52.941,
    "l": 30
  },
  "oklch": {
    "l": 0.33878,
    "c": 0.12139,
    "h": 272.1
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#242E75
secondary
#A89D4D
accent
#CA4BDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #242E75

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

Preview Lab → · Contrast checker → · Palette generator →

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