#242BB0#242BB0

#242BB0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.204 H 270.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#242BB0
RGBrgb(36, 43, 176)
HSLhsl(237, 66%, 42%)
HSVhsv(237, 80%, 69%)
CMYKcmyk(79.5%, 75.6%, 0%, 31%)
CIE-LABlab(27.40, 44.37, -70.28)
CIE-LCHlch(27.40, 83.11, 302.27°)
OKLaboklab(39.28% 0.0006 -0.2035)
OKLCHoklch(39.28% 0.204 270.2)
XYZxyz(9.4252, 5.2363, 41.5798)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242BB0 #B0A924
analogous
#2471B0 #242BB0 #6324B0
triadic
#242BB0 #B0242B #2BB024
tetradic
#242BB0 #B02471 #B0A924 #24B063
square
#242BB0 #B02471 #B0A924 #24B063
split-complementary
#242BB0 #B06324 #71B024
monochromatic
#0F124A #1A1F7D #242BB0 #3A42D7 #6D73E1

Accessibility & contrast

On white

10.26
#242BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#242BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242BB0
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242BB0#FFFFFF#000000##FFFFFF
##242BB01.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #242bb0;
/* rgb */ color: rgb(36, 43, 176);
/* oklch */ color: oklch(39.3% 0.204 270.2);
Tailwind
colors: {
  custom: {
    50: '#7866c9',
    500: '#242bb0',
    950: '#000000',
  },
}
SCSS
$custom: #242bb0;
$custom-light: #7866c9;
$custom-dark: #000000;
JSON
{
  "hex": "#242bb0",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 237,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39284,
    "c": 0.20355,
    "h": 270.2
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#242BB0
secondary
#C8C368
accent
#E03FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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