#2131BC#2131BC

#2131BC is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.3% C 0.213 H 268.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2131BC
RGBrgb(33, 49, 188)
HSLhsl(234, 70%, 43%)
HSVhsv(234, 82%, 74%)
CMYKcmyk(82.4%, 73.9%, 0%, 26.3%)
CIE-LABlab(29.79, 44.82, -73.47)
CIE-LCHlch(29.79, 86.06, 301.38°)
OKLaboklab(41.33% -0.006 -0.2129)
OKLCHoklch(41.33% 0.213 268.4)
XYZxyz(10.7995, 6.1495, 48.1850)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2131BC #BCAC21
analogous
#217FBC #2131BC #5E21BC
triadic
#2131BC #BC2131 #31BC21
tetradic
#2131BC #BC217F #BCAC21 #21BC5E
square
#2131BC #BC217F #BCAC21 #21BC5E
split-complementary
#2131BC #BC5E21 #7FBC21
monochromatic
#0F1654 #182388 #2131BC #3D4EDD #717DE6

Accessibility & contrast

On white

9.42
#2131BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2131BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2131BC
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2131BC#FFFFFF#000000##FFFFFF
##2131BC1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#003EBA
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2131bc;
/* rgb */ color: rgb(33, 49, 188);
/* oklch */ color: oklch(41.3% 0.213 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a6ad2',
    500: '#2131bc',
    950: '#000000',
  },
}
SCSS
$custom: #2131bc;
$custom-light: #7a6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2131bc",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 233.806,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41329,
    "c": 0.213,
    "h": 268.4
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#2131BC
secondary
#CDC36C
accent
#DB3BED
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #2131BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2131BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva