#242AA0#242AA0

#242AA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.185 H 271.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#242AA0
RGBrgb(36, 42, 160)
HSLhsl(237, 63%, 38%)
HSVhsv(237, 78%, 63%)
CMYKcmyk(77.5%, 73.8%, 0%, 37.3%)
CIE-LABlab(25.47, 39.45, -63.81)
CIE-LCHlch(25.47, 75.02, 301.73°)
OKLaboklab(37.4% 0.0036 -0.1847)
OKLCHoklch(37.4% 0.185 271.1)
XYZxyz(7.8985, 4.5682, 33.7164)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242AA0 #A09A24
analogous
#2468A0 #242AA0 #5C24A0
triadic
#242AA0 #A0242A #2AA024
tetradic
#242AA0 #A02468 #A09A24 #24A05C
square
#242AA0 #A02468 #A09A24 #24A05C
split-complementary
#242AA0 #A05C24 #68A024
monochromatic
#0E103C #191D6E #242AA0 #3138D1 #6368DC

Accessibility & contrast

On white

10.97
#242AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#242AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242AA0
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242AA0#FFFFFF#000000##FFFFFF
##242AA01.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242aa0;
/* rgb */ color: rgb(36, 42, 160);
/* oklch */ color: oklch(37.4% 0.185 271.1);
Tailwind
colors: {
  custom: {
    50: '#7565bd',
    500: '#242aa0',
    950: '#000000',
  },
}
SCSS
$custom: #242aa0;
$custom-light: #7565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#242aa0",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 237.097,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.374,
    "c": 0.18478,
    "h": 271.1
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#242AA0
secondary
#C1BC5F
accent
#DE41E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #242AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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