#2B34AE#2B34AE

#2B34AE is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.190 H 271.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2B34AE
RGBrgb(43, 52, 174)
HSLhsl(236, 60%, 43%)
HSVhsv(236, 75%, 68%)
CMYKcmyk(75.3%, 70.1%, 0%, 31.8%)
CIE-LABlab(29.47, 38.94, -65.64)
CIE-LCHlch(29.47, 76.32, 300.68°)
OKLaboklab(40.81% 0.0043 -0.19)
OKLCHoklch(40.81% 0.19 271.3)
XYZxyz(9.8616, 6.0245, 40.6793)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34AE #AEA52B
analogous
#2B75AE #2B34AE #642BAE
triadic
#2B34AE #AE2B34 #34AE2B
tetradic
#2B34AE #AE2B75 #AEA52B #2BAE64
square
#2B34AE #AE2B75 #AEA52B #2BAE64
split-complementary
#2B34AE #AE642B #75AE2B
monochromatic
#13174C #1F257D #2B34AE #454FD1 #767DDD

Accessibility & contrast

On white

9.52
#2B34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B34AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B34AE
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34AE#FFFFFF#000000##FFFFFF
##2B34AE1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b34ae;
/* rgb */ color: rgb(43, 52, 174);
/* oklch */ color: oklch(40.8% 0.190 271.3);
Tailwind
colors: {
  custom: {
    50: '#796cc7',
    500: '#2b34ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b34ae;
$custom-light: #796cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34ae",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 235.878,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.19001,
    "h": 271.3
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#2B34AE
secondary
#C5BF70
accent
#D944E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B34AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2B34AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva