#242D9E#242D9E

#242D9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.179 H 270.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#242D9E
RGBrgb(36, 45, 158)
HSLhsl(236, 63%, 38%)
HSVhsv(236, 77%, 62%)
CMYKcmyk(77.2%, 71.5%, 0%, 38%)
CIE-LABlab(25.92, 36.92, -61.85)
CIE-LCHlch(25.92, 72.03, 300.83°)
OKLaboklab(37.66% 0.0024 -0.179)
OKLCHoklch(37.66% 0.179 270.8)
XYZxyz(7.8354, 4.7196, 32.8392)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D9E #9E9524
analogous
#246A9E #242D9E #58249E
triadic
#242D9E #9E242D #2D9E24
tetradic
#242D9E #9E246A #9E9524 #249E58
square
#242D9E #9E246A #9E9524 #249E58
split-complementary
#242D9E #9E5824 #6A9E24
monochromatic
#0D113A #191F6C #242D9E #2F3BD0 #616ADB

Accessibility & contrast

On white

10.80
#242D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#242D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D9E
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D9E#FFFFFF#000000##FFFFFF
##242D9E1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242d9e;
/* rgb */ color: rgb(36, 45, 158);
/* oklch */ color: oklch(37.7% 0.179 270.8);
Tailwind
colors: {
  custom: {
    50: '#7466bc',
    500: '#242d9e',
    950: '#000000',
  },
}
SCSS
$custom: #242d9e;
$custom-light: #7466bc;
$custom-dark: #000000;
JSON
{
  "hex": "#242d9e",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 235.574,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37662,
    "c": 0.17906,
    "h": 270.8
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#242D9E
secondary
#C0B95E
accent
#DA42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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