#2130A7#2130A7

#2130A7 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.188 H 269.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2130A7
RGBrgb(33, 48, 167)
HSLhsl(233, 67%, 39%)
HSVhsv(233, 80%, 65%)
CMYKcmyk(80.2%, 71.3%, 0%, 34.5%)
CIE-LABlab(27.37, 38.02, -64.92)
CIE-LCHlch(27.37, 75.24, 300.36°)
OKLaboklab(38.94% -0.0031 -0.1881)
OKLCHoklch(38.94% 0.188 269.1)
XYZxyz(8.6568, 5.2263, 37.1042)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2130A7 #A79821
analogous
#2173A7 #2130A7 #5521A7
triadic
#2130A7 #A72130 #30A721
tetradic
#2130A7 #A72173 #A79821 #21A755
square
#2130A7 #A72173 #A79821 #21A755
split-complementary
#2130A7 #A75521 #73A721
monochromatic
#0D1341 #172174 #2130A7 #2F42D6 #6270E0

Accessibility & contrast

On white

10.27
#2130A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2130A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2130A7
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2130A7#FFFFFF#000000##FFFFFF
##2130A71.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2130a7;
/* rgb */ color: rgb(33, 48, 167);
/* oklch */ color: oklch(38.9% 0.188 269.1);
Tailwind
colors: {
  custom: {
    50: '#7569c2',
    500: '#2130a7',
    950: '#000000',
  },
}
SCSS
$custom: #2130a7;
$custom-light: #7569c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2130a7",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 233.284,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38942,
    "c": 0.18809,
    "h": 269.1
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#2130A7
secondary
#C5BA5F
accent
#D73EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2130A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2130A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva