#2124A0#2124A0

#2124A0 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.192 H 270.8°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2124A0
RGBrgb(33, 36, 160)
HSLhsl(239, 66%, 38%)
HSVhsv(239, 79%, 63%)
CMYKcmyk(79.4%, 77.5%, 0%, 37.3%)
CIE-LABlab(24.07, 42.70, -66.12)
CIE-LCHlch(24.07, 78.71, 302.85°)
OKLaboklab(36.36% 0.0027 -0.1915)
OKLCHoklch(36.36% 0.192 270.8)
XYZxyz(7.6011, 4.1223, 33.6460)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2124A0 #A09D21
analogous
#2163A0 #2124A0 #5E21A0
triadic
#2124A0 #A02124 #24A021
tetradic
#2124A0 #A02163 #A09D21 #21A05E
square
#2124A0 #A02163 #A09D21 #21A05E
split-complementary
#2124A0 #A05E21 #63A021
monochromatic
#0C0D3B #17196D #2124A0 #2B2FD3 #5E61DE

Accessibility & contrast

On white

11.51
#2124A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2124A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2124A0
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2124A0#FFFFFF#000000##FFFFFF
##2124A01.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2124a0;
/* rgb */ color: rgb(33, 36, 160);
/* oklch */ color: oklch(36.4% 0.192 270.8);
Tailwind
colors: {
  custom: {
    50: '#7461bd',
    500: '#2124a0',
    950: '#000000',
  },
}
SCSS
$custom: #2124a0;
$custom-light: #7461bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2124a0",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 238.583,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36365,
    "c": 0.1915,
    "h": 270.8
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#2124A0
secondary
#C2C05B
accent
#E53FE9
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2124A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2124A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva