#2B34B7#2B34B7

#2B34B7 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.7% C 0.201 H 270.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2B34B7
RGBrgb(43, 52, 183)
HSLhsl(236, 62%, 44%)
HSVhsv(236, 77%, 72%)
CMYKcmyk(76.5%, 71.6%, 0%, 28.2%)
CIE-LABlab(30.37, 42.07, -69.53)
CIE-LCHlch(30.37, 81.27, 301.18°)
OKLaboklab(41.72% 0.0032 -0.2013)
OKLCHoklch(41.72% 0.201 270.9)
XYZxyz(10.7686, 6.3873, 45.4559)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34B7 #B7AE2B
analogous
#2B7AB7 #2B34B7 #682BB7
triadic
#2B34B7 #B72B34 #34B72B
tetradic
#2B34B7 #B72B7A #B7AE2B #2BB768
square
#2B34B7 #B72B7A #B7AE2B #2BB768
split-complementary
#2B34B7 #B7682B #7AB72B
monochromatic
#141854 #1F2685 #2B34B7 #4B53D5 #7C83E0

Accessibility & contrast

On white

9.22
#2B34B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B34B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B34B7
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34B7#FFFFFF#000000##FFFFFF
##2B34B71.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b34b7;
/* rgb */ color: rgb(43, 52, 183);
/* oklch */ color: oklch(41.7% 0.201 270.9);
Tailwind
colors: {
  custom: {
    50: '#7c6cce',
    500: '#2b34b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b34b7;
$custom-light: #7c6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34b7",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 236.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4172,
    "c": 0.20131,
    "h": 270.9
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#2B34B7
secondary
#C9C375
accent
#DB43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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