#2B34A9#2B34A9

#2B34A9 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.184 H 271.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2B34A9
RGBrgb(43, 52, 169)
HSLhsl(236, 59%, 42%)
HSVhsv(236, 75%, 66%)
CMYKcmyk(74.6%, 69.2%, 0%, 33.7%)
CIE-LABlab(28.99, 37.17, -63.44)
CIE-LCHlch(28.99, 73.53, 300.37°)
OKLaboklab(40.31% 0.0049 -0.1835)
OKLCHoklch(40.31% 0.184 271.5)
XYZxyz(9.3833, 5.8332, 38.1598)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34A9 #A9A02B
analogous
#2B73A9 #2B34A9 #612BA9
triadic
#2B34A9 #A92B34 #34A92B
tetradic
#2B34A9 #A92B73 #A9A02B #2BA961
square
#2B34A9 #A92B73 #A9A02B #2BA961
split-complementary
#2B34A9 #A9612B #73A92B
monochromatic
#121647 #1F2578 #2B34A9 #424CCF #737ADB

Accessibility & contrast

On white

9.69
#2B34A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B34A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B34A9
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34A9#FFFFFF#000000##FFFFFF
##2B34A91.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b34a9;
/* rgb */ color: rgb(43, 52, 169);
/* oklch */ color: oklch(40.3% 0.184 271.5);
Tailwind
colors: {
  custom: {
    50: '#786cc4',
    500: '#2b34a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b34a9;
$custom-light: #786cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34a9",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 169
  },
  "hsl": {
    "h": 235.714,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.1836,
    "h": 271.5
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#2B34A9
secondary
#C3BD6D
accent
#D745E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B34A9

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

Preview Lab → · Contrast checker → · Palette generator →

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