#242CA9#242CA9

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

Color values

HEX#242CA9
RGBrgb(36, 44, 169)
HSLhsl(236, 65%, 40%)
HSVhsv(236, 79%, 66%)
CMYKcmyk(78.7%, 74%, 0%, 33.7%)
CIE-LABlab(26.85, 41.39, -66.98)
CIE-LCHlch(26.85, 78.74, 301.72°)
OKLaboklab(38.67% 0.0013 -0.194)
OKLCHoklch(38.67% 0.194 270.4)
XYZxyz(8.7872, 5.0400, 38.0381)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242CA9 #A9A124
analogous
#246EA9 #242CA9 #5E24A9
triadic
#242CA9 #A9242C #2CA924
tetradic
#242CA9 #A9246E #A9A124 #24A95E
square
#242CA9 #A9246E #A9A124 #24A95E
split-complementary
#242CA9 #A95E24 #6EA924
monochromatic
#0F1244 #191F77 #242CA9 #3640D4 #6870DF

Accessibility & contrast

On white

10.46
#242CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#242CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242CA9
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242CA9#FFFFFF#000000##FFFFFF
##242CA91.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #242ca9;
/* rgb */ color: rgb(36, 44, 169);
/* oklch */ color: oklch(38.7% 0.194 270.4);
Tailwind
colors: {
  custom: {
    50: '#7766c4',
    500: '#242ca9',
    950: '#000000',
  },
}
SCSS
$custom: #242ca9;
$custom-light: #7766c4;
$custom-dark: #000000;
JSON
{
  "hex": "#242ca9",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 236.391,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.19398,
    "h": 270.4
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#242CA9
secondary
#C5BF64
accent
#DE40E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #242CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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