#2D34B8#2D34B8

#2D34B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 41.9% C 0.202 H 271.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2D34B8
RGBrgb(45, 52, 184)
HSLhsl(237, 61%, 45%)
HSVhsv(237, 76%, 72%)
CMYKcmyk(75.5%, 71.7%, 0%, 27.8%)
CIE-LABlab(30.58, 42.60, -69.78)
CIE-LCHlch(30.58, 81.75, 301.40°)
OKLaboklab(41.93% 0.0052 -0.202)
OKLCHoklch(41.93% 0.202 271.5)
XYZxyz(10.9590, 6.4734, 46.0100)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D34B8 #B8B12D
analogous
#2D7AB8 #2D34B8 #6B2DB8
triadic
#2D34B8 #B82D34 #34B82D
tetradic
#2D34B8 #B82D7A #B8B12D #2DB86B
square
#2D34B8 #B82D7A #B8B12D #2DB86B
split-complementary
#2D34B8 #B86B2D #7AB82D
monochromatic
#151856 #212687 #2D34B8 #4E55D4 #8084E0

Accessibility & contrast

On white

9.15
#2D34B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D34B8
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D34B8#FFFFFF#000000##FFFFFF
##2D34B81.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d34b8;
/* rgb */ color: rgb(45, 52, 184);
/* oklch */ color: oklch(41.9% 0.202 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d6ccf',
    500: '#2d34b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d34b8;
$custom-light: #7d6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d34b8",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 236.978,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.20204,
    "h": 271.5
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#2D34B8
secondary
#C9C578
accent
#DC44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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