#2131A5#2131A5

#2131A5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.184 H 269.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2131A5
RGBrgb(33, 49, 165)
HSLhsl(233, 67%, 39%)
HSVhsv(233, 80%, 65%)
CMYKcmyk(80%, 70.3%, 0%, 35.3%)
CIE-LABlab(27.40, 36.67, -63.67)
CIE-LCHlch(27.40, 73.48, 299.94°)
OKLaboklab(38.9% -0.0033 -0.1844)
OKLCHoklch(38.9% 0.184 269)
XYZxyz(8.5147, 5.2356, 36.1518)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2131A5 #A59521
analogous
#2173A5 #2131A5 #5321A5
triadic
#2131A5 #A52131 #31A521
tetradic
#2131A5 #A52173 #A59521 #21A553
square
#2131A5 #A52173 #A59521 #21A553
split-complementary
#2131A5 #A55321 #73A521
monochromatic
#0D133F #172272 #2131A5 #2E42D5 #6170DF

Accessibility & contrast

On white

10.26
#2131A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2131A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2131A5
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2131A5#FFFFFF#000000##FFFFFF
##2131A51.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2131a5;
/* rgb */ color: rgb(33, 49, 165);
/* oklch */ color: oklch(38.9% 0.184 269.0);
Tailwind
colors: {
  custom: {
    50: '#7469c1',
    500: '#2131a5',
    950: '#000000',
  },
}
SCSS
$custom: #2131a5;
$custom-light: #7469c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2131a5",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 232.727,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38899,
    "c": 0.18444,
    "h": 269
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#2131A5
secondary
#C4B85E
accent
#D53EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2131A5

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

Preview Lab → · Contrast checker → · Palette generator →

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