#2131A9#2131A9

#2131A9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.190 H 268.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2131A9
RGBrgb(33, 49, 169)
HSLhsl(233, 67%, 40%)
HSVhsv(233, 80%, 66%)
CMYKcmyk(80.5%, 71%, 0%, 33.7%)
CIE-LABlab(27.80, 38.12, -65.42)
CIE-LCHlch(27.80, 75.71, 300.23°)
OKLaboklab(39.31% -0.0037 -0.1895)
OKLCHoklch(39.31% 0.19 268.9)
XYZxyz(8.8845, 5.3835, 38.0993)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2131A9 #A99921
analogous
#2175A9 #2131A9 #5521A9
triadic
#2131A9 #A92131 #31A921
tetradic
#2131A9 #A92175 #A99921 #21A955
square
#2131A9 #A92175 #A99921 #21A955
split-complementary
#2131A9 #A95521 #75A921
monochromatic
#0D1343 #172276 #2131A9 #3144D7 #6472E1

Accessibility & contrast

On white

10.11
#2131A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2131A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2131A9
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2131A9#FFFFFF#000000##FFFFFF
##2131A91.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2131a9;
/* rgb */ color: rgb(33, 49, 169);
/* oklch */ color: oklch(39.3% 0.190 268.9);
Tailwind
colors: {
  custom: {
    50: '#7569c4',
    500: '#2131a9',
    950: '#000000',
  },
}
SCSS
$custom: #2131a9;
$custom-light: #7569c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2131a9",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 232.941,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.18954,
    "h": 268.9
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#2131A9
secondary
#C6BA60
accent
#D63EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2131A9

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

Preview Lab → · Contrast checker → · Palette generator →

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