#2131A0#2131A0

#2131A0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.178 H 269.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2131A0
RGBrgb(33, 49, 160)
HSLhsl(232, 66%, 38%)
HSVhsv(232, 79%, 63%)
CMYKcmyk(79.4%, 69.4%, 0%, 37.3%)
CIE-LABlab(26.90, 34.85, -61.46)
CIE-LCHlch(26.90, 70.65, 299.55°)
OKLaboklab(38.39% -0.0028 -0.178)
OKLCHoklch(38.39% 0.178 269.1)
XYZxyz(8.0685, 5.0571, 33.8018)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2131A0 #A09021
analogous
#2170A0 #2131A0 #5021A0
triadic
#2131A0 #A02131 #31A021
tetradic
#2131A0 #A02170 #A09021 #21A050
square
#2131A0 #A02170 #A09021 #21A050
split-complementary
#2131A0 #A05021 #70A021
monochromatic
#0C123B #17216D #2131A0 #2B41D3 #5E6EDE

Accessibility & contrast

On white

10.44
#2131A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2131A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2131A0
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2131A0#FFFFFF#000000##FFFFFF
##2131A01.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2131a0;
/* rgb */ color: rgb(33, 49, 160);
/* oklch */ color: oklch(38.4% 0.178 269.1);
Tailwind
colors: {
  custom: {
    50: '#7369bd',
    500: '#2131a0',
    950: '#000000',
  },
}
SCSS
$custom: #2131a0;
$custom-light: #7369bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2131a0",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 232.441,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.17799,
    "h": 269.1
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#2131A0
secondary
#C2B55B
accent
#D33FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #2131A0

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

Preview Lab → · Contrast checker → · Palette generator →

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