#2D34B6#2D34B6

#2D34B6 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.200 H 271.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2D34B6
RGBrgb(45, 52, 182)
HSLhsl(237, 60%, 45%)
HSVhsv(237, 75%, 71%)
CMYKcmyk(75.3%, 71.4%, 0%, 28.6%)
CIE-LABlab(30.38, 41.91, -68.92)
CIE-LCHlch(30.38, 80.66, 301.30°)
OKLaboklab(41.72% 0.0054 -0.1995)
OKLCHoklch(41.72% 0.2 271.6)
XYZxyz(10.7508, 6.3901, 44.9137)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D34B6 #B6AF2D
analogous
#2D79B6 #2D34B6 #6A2DB6
triadic
#2D34B6 #B62D34 #34B62D
tetradic
#2D34B6 #B62D79 #B6AF2D #2DB66A
square
#2D34B6 #B62D79 #B6AF2D #2DB66A
split-complementary
#2D34B6 #B66A2D #79B62D
monochromatic
#151854 #212685 #2D34B6 #4D54D3 #7E83DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D34B6#FFFFFF#000000##FFFFFF
##2D34B61.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)
#004EBA
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d34b6;
/* rgb */ color: rgb(45, 52, 182);
/* oklch */ color: oklch(41.7% 0.200 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c6ccd',
    500: '#2d34b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d34b6;
$custom-light: #7c6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d34b6",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 236.934,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41723,
    "c": 0.19955,
    "h": 271.6
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#2D34B6
secondary
#C8C477
accent
#DB44E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D34B6

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

Preview Lab → · Contrast checker → · Palette generator →

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