#242D75#242D75

#242D75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.123 H 272.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#242D75
RGBrgb(36, 45, 117)
HSLhsl(233, 53%, 30%)
HSVhsv(233, 69%, 46%)
CMYKcmyk(69.2%, 61.5%, 0%, 54.1%)
CIE-LABlab(22.07, 21.67, -42.58)
CIE-LCHlch(22.07, 47.78, 296.98°)
OKLaboklab(33.67% 0.0055 -0.1226)
OKLCHoklch(33.67% 0.123 272.5)
XYZxyz(4.8758, 3.5358, 17.2517)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D75 #756C24
analogous
#245675 #242D75 #432475
triadic
#242D75 #75242D #2D7524
tetradic
#242D75 #752456 #756C24 #247543
square
#242D75 #752456 #756C24 #247543
split-complementary
#242D75 #754324 #567524
monochromatic
#070917 #161B46 #242D75 #323FA4 #4C59C8

Accessibility & contrast

On white

12.30
#242D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#242D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D75
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D75#FFFFFF#000000##FFFFFF
##242D751.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242d75;
/* rgb */ color: rgb(36, 45, 117);
/* oklch */ color: oklch(33.7% 0.123 272.5);
Tailwind
colors: {
  custom: {
    50: '#6a659d',
    500: '#242d75',
    950: '#000000',
  },
}
SCSS
$custom: #242d75;
$custom-light: #6a659d;
$custom-dark: #000000;
JSON
{
  "hex": "#242d75",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 233.333,
    "s": 52.941,
    "l": 30
  },
  "oklch": {
    "l": 0.33674,
    "c": 0.12275,
    "h": 272.5
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#242D75
secondary
#A89E4D
accent
#CC4BDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #242D75

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

Preview Lab → · Contrast checker → · Palette generator →

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