#242E77#242E77

#242E77 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.124 H 272.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#242E77
RGBrgb(36, 46, 119)
HSLhsl(233, 54%, 30%)
HSVhsv(233, 70%, 47%)
CMYKcmyk(69.7%, 61.3%, 0%, 53.3%)
CIE-LABlab(22.52, 21.74, -43.14)
CIE-LCHlch(22.52, 48.31, 296.75°)
OKLaboklab(34.06% 0.0045 -0.1243)
OKLCHoklch(34.06% 0.124 272.1)
XYZxyz(5.0332, 3.6605, 17.8905)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E77 #776D24
analogous
#245777 #242E77 #432477
triadic
#242E77 #77242E #2E7724
tetradic
#242E77 #772457 #776D24 #247743
square
#242E77 #772457 #776D24 #247743
split-complementary
#242E77 #774324 #577724
monochromatic
#080A19 #161C48 #242E77 #3240A6 #4C5BC9

Accessibility & contrast

On white

12.12
#242E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#242E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E77
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E77#FFFFFF#000000##FFFFFF
##242E771.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242e77;
/* rgb */ color: rgb(36, 46, 119);
/* oklch */ color: oklch(34.1% 0.124 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a669f',
    500: '#242e77',
    950: '#000000',
  },
}
SCSS
$custom: #242e77;
$custom-light: #6a669f;
$custom-dark: #000000;
JSON
{
  "hex": "#242e77",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 232.771,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34055,
    "c": 0.12434,
    "h": 272.1
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#242E77
secondary
#AA9F4D
accent
#CB4BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #242E77

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

Preview Lab → · Contrast checker → · Palette generator →

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