#242FB1#242FB1

#242FB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.0% C 0.201 H 269.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#242FB1
RGBrgb(36, 47, 177)
HSLhsl(235, 66%, 42%)
HSVhsv(235, 80%, 69%)
CMYKcmyk(79.7%, 73.4%, 0%, 30.6%)
CIE-LABlab(28.33, 42.40, -69.33)
CIE-LCHlch(28.33, 81.27, 301.44°)
OKLaboklab(39.98% -0.001 -0.2008)
OKLCHoklch(39.98% 0.201 269.7)
XYZxyz(9.6772, 5.5813, 42.1537)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242FB1 #B1A624
analogous
#2476B1 #242FB1 #6024B1
triadic
#242FB1 #B1242F #2FB124
tetradic
#242FB1 #B12476 #B1A624 #24B160
square
#242FB1 #B12476 #B1A624 #24B160
split-complementary
#242FB1 #B16024 #76B124
monochromatic
#0F144B #1A217E #242FB1 #3B47D7 #6E77E1

Accessibility & contrast

On white

9.92
#242FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#242FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242FB1
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242FB1#FFFFFF#000000##FFFFFF
##242FB11.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #242fb1;
/* rgb */ color: rgb(36, 47, 177);
/* oklch */ color: oklch(40.0% 0.201 269.7);
Tailwind
colors: {
  custom: {
    50: '#7869ca',
    500: '#242fb1',
    950: '#000000',
  },
}
SCSS
$custom: #242fb1;
$custom-light: #7869ca;
$custom-dark: #000000;
JSON
{
  "hex": "#242fb1",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 235.319,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.20084,
    "h": 269.7
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#242FB1
secondary
#C8C169
accent
#DC3FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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