#2123A8#2123A8

#2123A8 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.1% C 0.202 H 270.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2123A8
RGBrgb(33, 35, 168)
HSLhsl(239, 67%, 39%)
HSVhsv(239, 80%, 66%)
CMYKcmyk(80.4%, 79.2%, 0%, 34.1%)
CIE-LABlab(24.80, 45.90, -69.77)
CIE-LCHlch(24.80, 83.52, 303.34°)
OKLaboklab(37.15% 0.0014 -0.202)
OKLCHoklch(37.15% 0.202 270.4)
XYZxyz(8.2937, 4.3516, 37.4410)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2123A8 #A8A621
analogous
#2167A8 #2123A8 #6321A8
triadic
#2123A8 #A82123 #23A821
tetradic
#2123A8 #A82167 #A8A621 #21A863
square
#2123A8 #A82167 #A8A621 #21A863
split-complementary
#2123A8 #A86321 #67A821
monochromatic
#0D0E42 #171875 #2123A8 #3032D6 #6365E0

Accessibility & contrast

On white

11.23
#2123A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2123A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2123A8
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2123A8#FFFFFF#000000##FFFFFF
##2123A81.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2123a8;
/* rgb */ color: rgb(33, 35, 168);
/* oklch */ color: oklch(37.1% 0.202 270.4);
Tailwind
colors: {
  custom: {
    50: '#7661c3',
    500: '#2123a8',
    950: '#000000',
  },
}
SCSS
$custom: #2123a8;
$custom-light: #7661c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2123a8",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 239.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37146,
    "c": 0.20205,
    "h": 270.4
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#2123A8
secondary
#C5C45F
accent
#E83EEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2123A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2123A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva