#2134A8#2134A8

#2134A8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.185 H 268.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2134A8
RGBrgb(33, 52, 168)
HSLhsl(232, 67%, 39%)
HSVhsv(232, 80%, 66%)
CMYKcmyk(80.4%, 69%, 0%, 34.1%)
CIE-LABlab(28.39, 35.87, -63.84)
CIE-LCHlch(28.39, 73.22, 299.33°)
OKLaboklab(39.71% -0.005 -0.1849)
OKLCHoklch(39.71% 0.185 268.4)
XYZxyz(8.9206, 5.6054, 37.6500)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2134A8 #A89521
analogous
#2177A8 #2134A8 #5221A8
triadic
#2134A8 #A82134 #34A821
tetradic
#2134A8 #A82177 #A89521 #21A852
square
#2134A8 #A82177 #A89521 #21A852
split-complementary
#2134A8 #A85221 #77A821
monochromatic
#0D1442 #172475 #2134A8 #3047D6 #6375E0

Accessibility & contrast

On white

9.90
#2134A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2134A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2134A8
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2134A8#FFFFFF#000000##FFFFFF
##2134A81.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2134a8;
/* rgb */ color: rgb(33, 52, 168);
/* oklch */ color: oklch(39.7% 0.185 268.4);
Tailwind
colors: {
  custom: {
    50: '#756bc3',
    500: '#2134a8',
    950: '#000000',
  },
}
SCSS
$custom: #2134a8;
$custom-light: #756bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2134a8",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 231.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39713,
    "c": 0.18496,
    "h": 268.4
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#2134A8
secondary
#C5B75F
accent
#D23EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2134A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2134A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva