#2123A7#2123A7

#2123A7 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.0% C 0.201 H 270.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2123A7
RGBrgb(33, 35, 167)
HSLhsl(239, 67%, 39%)
HSVhsv(239, 80%, 65%)
CMYKcmyk(80.2%, 79%, 0%, 34.5%)
CIE-LABlab(24.68, 45.58, -69.36)
CIE-LCHlch(24.68, 82.99, 303.31°)
OKLaboklab(37.03% 0.0016 -0.2008)
OKLCHoklch(37.03% 0.201 270.5)
XYZxyz(8.2009, 4.3145, 36.9523)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2123A7 #A7A521
analogous
#2166A7 #2123A7 #6221A7
triadic
#2123A7 #A72123 #23A721
tetradic
#2123A7 #A72166 #A7A521 #21A762
square
#2123A7 #A72166 #A7A521 #21A762
split-complementary
#2123A7 #A76221 #66A721
monochromatic
#0D0E41 #171874 #2123A7 #2F32D6 #6264E0

Accessibility & contrast

On white

11.27
#2123A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2123A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2123A7
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2123A7#FFFFFF#000000##FFFFFF
##2123A71.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0034A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2123a7;
/* rgb */ color: rgb(33, 35, 167);
/* oklch */ color: oklch(37.0% 0.201 270.5);
Tailwind
colors: {
  custom: {
    50: '#7661c3',
    500: '#2123a7',
    950: '#000000',
  },
}
SCSS
$custom: #2123a7;
$custom-light: #7661c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2123a7",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 239.104,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37031,
    "c": 0.20086,
    "h": 270.5
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2123A7

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

Preview Lab → · Contrast checker → · Palette generator →

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