#2123BD#2123BD

#2123BD is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.6% C 0.226 H 269.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2123BD
RGBrgb(33, 35, 189)
HSLhsl(239, 70%, 44%)
HSVhsv(239, 83%, 74%)
CMYKcmyk(82.5%, 81.5%, 0%, 25.9%)
CIE-LABlab(27.29, 52.62, -78.19)
CIE-LCHlch(27.29, 94.25, 303.94°)
OKLaboklab(39.6% -0.0027 -0.2264)
OKLCHoklch(39.6% 0.226 269.3)
XYZxyz(10.4104, 5.1983, 48.5889)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2123BD #BDBB21
analogous
#2171BD #2123BD #6D21BD
triadic
#2123BD #BD2123 #23BD21
tetradic
#2123BD #BD2171 #BDBB21 #21BD6D
square
#2123BD #BD2171 #BDBB21 #21BD6D
split-complementary
#2123BD #BD6D21 #71BD21
monochromatic
#0F1055 #181989 #2123BD #3E40DD #7274E6

Accessibility & contrast

On white

10.29
#2123BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2123BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2123BD
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2123BD#FFFFFF#000000##FFFFFF
##2123BD1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0038BA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2123bd;
/* rgb */ color: rgb(33, 35, 189);
/* oklch */ color: oklch(39.6% 0.226 269.3);
Tailwind
colors: {
  custom: {
    50: '#7c62d2',
    500: '#2123bd',
    950: '#000000',
  },
}
SCSS
$custom: #2123bd;
$custom-light: #7c62d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2123bd",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 239.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39604,
    "c": 0.22644,
    "h": 269.3
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#2123BD
secondary
#CDCC6D
accent
#EB3BED
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2123BD

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

Preview Lab → · Contrast checker → · Palette generator →

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