#2B34B0#2B34B0

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

Color values

HEX#2B34B0
RGBrgb(43, 52, 176)
HSLhsl(236, 61%, 43%)
HSVhsv(236, 76%, 69%)
CMYKcmyk(75.6%, 70.5%, 0%, 31%)
CIE-LABlab(29.67, 39.64, -66.51)
CIE-LCHlch(29.67, 77.43, 300.79°)
OKLaboklab(41.01% 0.0041 -0.1925)
OKLCHoklch(41.01% 0.193 271.2)
XYZxyz(10.0581, 6.1031, 41.7138)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34B0 #B0A72B
analogous
#2B76B0 #2B34B0 #642BB0
triadic
#2B34B0 #B02B34 #34B02B
tetradic
#2B34B0 #B02B76 #B0A72B #2BB064
square
#2B34B0 #B02B76 #B0A72B #2BB064
split-complementary
#2B34B0 #B0642B #76B02B
monochromatic
#13174E #1F257F #2B34B0 #4650D2 #787EDE

Accessibility & contrast

On white

9.46
#2B34B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B34B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B34B0
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34B0#FFFFFF#000000##FFFFFF
##2B34B01.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#003FAE
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b34b0;
/* rgb */ color: rgb(43, 52, 176);
/* oklch */ color: oklch(41.0% 0.193 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a6cc9',
    500: '#2b34b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b34b0;
$custom-light: #7a6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34b0",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 235.94,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.19254,
    "h": 271.2
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B34B0

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

Preview Lab → · Contrast checker → · Palette generator →

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