#2B34B1#2B34B1

#2B34B1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.194 H 271.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2B34B1
RGBrgb(43, 52, 177)
HSLhsl(236, 61%, 43%)
HSVhsv(236, 76%, 69%)
CMYKcmyk(75.7%, 70.6%, 0%, 30.6%)
CIE-LABlab(29.77, 39.99, -66.95)
CIE-LCHlch(29.77, 77.98, 300.85°)
OKLaboklab(41.11% 0.0039 -0.1938)
OKLCHoklch(41.11% 0.194 271.2)
XYZxyz(10.1574, 6.1428, 42.2368)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34B1 #B1A82B
analogous
#2B77B1 #2B34B1 #652BB1
triadic
#2B34B1 #B12B34 #34B12B
tetradic
#2B34B1 #B12B77 #B1A82B #2BB165
square
#2B34B1 #B12B77 #B1A82B #2BB165
split-complementary
#2B34B1 #B1652B #77B12B
monochromatic
#13174F #1F2680 #2B34B1 #4750D2 #787FDE

Accessibility & contrast

On white

9.42
#2B34B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B34B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B34B1
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34B1#FFFFFF#000000##FFFFFF
##2B34B11.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b34b1;
/* rgb */ color: rgb(43, 52, 177);
/* oklch */ color: oklch(41.1% 0.194 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a6cc9',
    500: '#2b34b1',
    950: '#000000',
  },
}
SCSS
$custom: #2b34b1;
$custom-light: #7a6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34b1",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 235.97,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.19381,
    "h": 271.2
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B34B1

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

Preview Lab → · Contrast checker → · Palette generator →

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