#2130A4#2130A4

#2130A4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.184 H 269.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2130A4
RGBrgb(33, 48, 164)
HSLhsl(233, 66%, 39%)
HSVhsv(233, 80%, 64%)
CMYKcmyk(79.9%, 70.7%, 0%, 35.7%)
CIE-LABlab(27.06, 36.94, -63.61)
CIE-LCHlch(27.06, 73.56, 300.14°)
OKLaboklab(38.63% -0.0028 -0.1842)
OKLCHoklch(38.63% 0.184 269.1)
XYZxyz(8.3827, 5.1166, 35.6606)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2130A4 #A49521
analogous
#2171A4 #2130A4 #5321A4
triadic
#2130A4 #A42130 #30A421
tetradic
#2130A4 #A42171 #A49521 #21A453
square
#2130A4 #A42171 #A49521 #21A453
split-complementary
#2130A4 #A45321 #71A421
monochromatic
#0C123E #172171 #2130A4 #2D41D5 #606FDF

Accessibility & contrast

On white

10.38
#2130A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2130A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2130A4
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2130A4#FFFFFF#000000##FFFFFF
##2130A41.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2130a4;
/* rgb */ color: rgb(33, 48, 164);
/* oklch */ color: oklch(38.6% 0.184 269.1);
Tailwind
colors: {
  custom: {
    50: '#7469c0',
    500: '#2130a4',
    950: '#000000',
  },
}
SCSS
$custom: #2130a4;
$custom-light: #7469c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2130a4",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 233.13,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38629,
    "c": 0.18426,
    "h": 269.1
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#2130A4
secondary
#C4B85D
accent
#D63EE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2130A4

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

Preview Lab → · Contrast checker → · Palette generator →

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