#2D34B9#2D34B9

#2D34B9 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.0% C 0.203 H 271.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2D34B9
RGBrgb(45, 52, 185)
HSLhsl(237, 61%, 45%)
HSVhsv(237, 76%, 73%)
CMYKcmyk(75.7%, 71.9%, 0%, 27.5%)
CIE-LABlab(30.68, 42.94, -70.20)
CIE-LCHlch(30.68, 82.29, 301.45°)
OKLaboklab(42.03% 0.005 -0.2032)
OKLCHoklch(42.03% 0.203 271.4)
XYZxyz(11.0642, 6.5155, 46.5640)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D34B9 #B9B22D
analogous
#2D7AB9 #2D34B9 #6C2DB9
triadic
#2D34B9 #B92D34 #34B92D
tetradic
#2D34B9 #B92D7A #B9B22D #2DB96C
square
#2D34B9 #B92D7A #B9B22D #2DB96C
split-complementary
#2D34B9 #B96C2D #7AB92D
monochromatic
#151857 #212688 #2D34B9 #4F56D4 #8085E0

Accessibility & contrast

On white

9.12
#2D34B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D34B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D34B9
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D34B9#FFFFFF#000000##FFFFFF
##2D34B91.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d34b9;
/* rgb */ color: rgb(45, 52, 185);
/* oklch */ color: oklch(42.0% 0.203 271.4);
Tailwind
colors: {
  custom: {
    50: '#7d6ccf',
    500: '#2d34b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d34b9;
$custom-light: #7d6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d34b9",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 237,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.20327,
    "h": 271.4
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#2D34B9
secondary
#C9C579
accent
#DC44E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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