#2442B2#2442B2

#2442B2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.181 H 266.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2442B2
RGBrgb(36, 66, 178)
HSLhsl(227, 66%, 42%)
HSVhsv(227, 80%, 70%)
CMYKcmyk(79.8%, 62.9%, 0%, 30.2%)
CIE-LABlab(32.89, 30.78, -62.44)
CIE-LCHlch(32.89, 69.61, 296.24°)
OKLaboklab(43.32% -0.0103 -0.1806)
OKLCHoklch(43.32% 0.181 266.7)
XYZxyz(10.7088, 7.4846, 42.9911)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2442B2 #B29424
analogous
#2489B2 #2442B2 #4D24B2
triadic
#2442B2 #B22442 #42B224
tetradic
#2442B2 #B22489 #B29424 #24B24D
square
#2442B2 #B22489 #B29424 #24B24D
split-complementary
#2442B2 #B24D24 #89B224
monochromatic
#0F1C4C #1A2F7F #2442B2 #3C5DD8 #6F87E2

Accessibility & contrast

On white

8.41
#2442B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2442B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2442B2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2442B2#FFFFFF#000000##FFFFFF
##2442B21.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2442b2;
/* rgb */ color: rgb(36, 66, 178);
/* oklch */ color: oklch(43.3% 0.181 266.7);
Tailwind
colors: {
  custom: {
    50: '#7776ca',
    500: '#2442b2',
    950: '#000000',
  },
}
SCSS
$custom: #2442b2;
$custom-light: #7776ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2442b2",
  "rgb": {
    "r": 36,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 227.324,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.18094,
    "h": 266.7
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#2442B2
secondary
#C8B469
accent
#C53FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2442B2

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

Preview Lab → · Contrast checker → · Palette generator →

#2442B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva