#2123A0#2123A0

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

Color values

HEX#2123A0
RGBrgb(33, 35, 160)
HSLhsl(239, 66%, 38%)
HSVhsv(239, 79%, 63%)
CMYKcmyk(79.4%, 78.1%, 0%, 37.3%)
CIE-LABlab(23.88, 43.25, -66.45)
CIE-LCHlch(23.88, 79.28, 303.06°)
OKLaboklab(36.23% 0.003 -0.1924)
OKLCHoklch(36.23% 0.192 270.9)
XYZxyz(7.5712, 4.0626, 33.6360)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2123A0 #A09E21
analogous
#2162A0 #2123A0 #5E21A0
triadic
#2123A0 #A02123 #23A021
tetradic
#2123A0 #A02162 #A09E21 #21A05E
square
#2123A0 #A02162 #A09E21 #21A05E
split-complementary
#2123A0 #A05E21 #62A021
monochromatic
#0C0D3B #17186D #2123A0 #2B2ED3 #5E60DE

Accessibility & contrast

On white

11.59
#2123A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2123A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2123A0
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2123A0#FFFFFF#000000##FFFFFF
##2123A01.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2123a0;
/* rgb */ color: rgb(33, 35, 160);
/* oklch */ color: oklch(36.2% 0.192 270.9);
Tailwind
colors: {
  custom: {
    50: '#7460bd',
    500: '#2123a0',
    950: '#000000',
  },
}
SCSS
$custom: #2123a0;
$custom-light: #7460bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2123a0",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 239.055,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36228,
    "c": 0.19242,
    "h": 270.9
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#2123A0
secondary
#C2C15B
accent
#E63FE9
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2123A0

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

Preview Lab → · Contrast checker → · Palette generator →

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