#2134A5#2134A5

#2134A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.181 H 268.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2134A5
RGBrgb(33, 52, 165)
HSLhsl(231, 67%, 39%)
HSVhsv(231, 80%, 65%)
CMYKcmyk(80%, 68.5%, 0%, 35.3%)
CIE-LABlab(28.10, 34.77, -62.51)
CIE-LCHlch(28.10, 71.53, 299.08°)
OKLaboklab(39.41% -0.0048 -0.181)
OKLCHoklch(39.41% 0.181 268.5)
XYZxyz(8.6444, 5.4949, 36.1951)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2134A5 #A59221
analogous
#2176A5 #2134A5 #5021A5
triadic
#2134A5 #A52134 #34A521
tetradic
#2134A5 #A52176 #A59221 #21A550
square
#2134A5 #A52176 #A59221 #21A550
split-complementary
#2134A5 #A55021 #76A521
monochromatic
#0D143F #172472 #2134A5 #2E46D5 #6173DF

Accessibility & contrast

On white

10.00
#2134A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2134A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2134A5
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2134A5#FFFFFF#000000##FFFFFF
##2134A51.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2134a5;
/* rgb */ color: rgb(33, 52, 165);
/* oklch */ color: oklch(39.4% 0.181 268.5);
Tailwind
colors: {
  custom: {
    50: '#746bc1',
    500: '#2134a5',
    950: '#000000',
  },
}
SCSS
$custom: #2134a5;
$custom-light: #746bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2134a5",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 231.364,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39411,
    "c": 0.18108,
    "h": 268.5
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#2134A5
secondary
#C4B55E
accent
#D13EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2134A5

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

Preview Lab → · Contrast checker → · Palette generator →

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