#242DA6#242DA6

#242DA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.189 H 270.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#242DA6
RGBrgb(36, 45, 166)
HSLhsl(236, 64%, 40%)
HSVhsv(236, 78%, 65%)
CMYKcmyk(78.3%, 72.9%, 0%, 34.9%)
CIE-LABlab(26.75, 39.75, -65.34)
CIE-LCHlch(26.75, 76.48, 301.31°)
OKLaboklab(38.5% 0.0013 -0.1892)
OKLCHoklch(38.5% 0.189 270.4)
XYZxyz(8.5465, 5.0041, 36.5845)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242DA6 #A69D24
analogous
#246EA6 #242DA6 #5C24A6
triadic
#242DA6 #A6242D #2DA624
tetradic
#242DA6 #A6246E #A69D24 #24A65C
square
#242DA6 #A6246E #A69D24 #24A65C
split-complementary
#242DA6 #A65C24 #6EA624
monochromatic
#0E1241 #191F74 #242DA6 #343FD3 #666FDE

Accessibility & contrast

On white

10.49
#242DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#242DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242DA6
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242DA6#FFFFFF#000000##FFFFFF
##242DA61.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #242da6;
/* rgb */ color: rgb(36, 45, 166);
/* oklch */ color: oklch(38.5% 0.189 270.4);
Tailwind
colors: {
  custom: {
    50: '#7667c2',
    500: '#242da6',
    950: '#000000',
  },
}
SCSS
$custom: #242da6;
$custom-light: #7667c2;
$custom-dark: #000000;
JSON
{
  "hex": "#242da6",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 235.846,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38502,
    "c": 0.18921,
    "h": 270.4
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#242DA6
secondary
#C4BD62
accent
#DC40E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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