#2B34AA#2B34AA

#2B34AA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.185 H 271.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2B34AA
RGBrgb(43, 52, 170)
HSLhsl(236, 60%, 42%)
HSVhsv(236, 75%, 67%)
CMYKcmyk(74.7%, 69.4%, 0%, 33.3%)
CIE-LABlab(29.08, 37.53, -63.89)
CIE-LCHlch(29.08, 74.09, 300.43°)
OKLaboklab(40.41% 0.0048 -0.1848)
OKLCHoklch(40.41% 0.185 271.5)
XYZxyz(9.4775, 5.8709, 38.6561)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34AA #AAA12B
analogous
#2B74AA #2B34AA #622BAA
triadic
#2B34AA #AA2B34 #34AA2B
tetradic
#2B34AA #AA2B74 #AAA12B #2BAA62
square
#2B34AA #AA2B74 #AAA12B #2BAA62
split-complementary
#2B34AA #AA622B #74AA2B
monochromatic
#121648 #1F2579 #2B34AA #434DCF #747BDC

Accessibility & contrast

On white

9.66
#2B34AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B34AA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34AA#FFFFFF#000000##FFFFFF
##2B34AA1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b34aa;
/* rgb */ color: rgb(43, 52, 170);
/* oklch */ color: oklch(40.4% 0.185 271.5);
Tailwind
colors: {
  custom: {
    50: '#786cc4',
    500: '#2b34aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b34aa;
$custom-light: #786cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34aa",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 235.748,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40407,
    "c": 0.18489,
    "h": 271.5
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#2B34AA
secondary
#C3BD6E
accent
#D845E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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