#2134A7#2134A7

#2134A7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.184 H 268.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2134A7
RGBrgb(33, 52, 167)
HSLhsl(231, 67%, 39%)
HSVhsv(231, 80%, 65%)
CMYKcmyk(80.2%, 68.9%, 0%, 34.5%)
CIE-LABlab(28.30, 35.50, -63.40)
CIE-LCHlch(28.30, 72.66, 299.25°)
OKLaboklab(39.61% -0.0049 -0.1836)
OKLCHoklch(39.61% 0.184 268.5)
XYZxyz(8.8278, 5.5683, 37.1613)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2134A7 #A79421
analogous
#2177A7 #2134A7 #5121A7
triadic
#2134A7 #A72134 #34A721
tetradic
#2134A7 #A72177 #A79421 #21A751
square
#2134A7 #A72177 #A79421 #21A751
split-complementary
#2134A7 #A75121 #77A721
monochromatic
#0D1441 #172474 #2134A7 #2F47D6 #6274E0

Accessibility & contrast

On white

9.93
#2134A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2134A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2134A7
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2134A7#FFFFFF#000000##FFFFFF
##2134A71.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2134a7;
/* rgb */ color: rgb(33, 52, 167);
/* oklch */ color: oklch(39.6% 0.184 268.5);
Tailwind
colors: {
  custom: {
    50: '#746bc2',
    500: '#2134a7',
    950: '#000000',
  },
}
SCSS
$custom: #2134a7;
$custom-light: #746bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2134a7",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 231.493,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.18368,
    "h": 268.5
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2134A7

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

Preview Lab → · Contrast checker → · Palette generator →

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