#2D34B0#2D34B0

#2D34B0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.192 H 271.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2D34B0
RGBrgb(45, 52, 176)
HSLhsl(237, 59%, 43%)
HSVhsv(237, 74%, 69%)
CMYKcmyk(74.4%, 70.5%, 0%, 31%)
CIE-LABlab(29.78, 39.84, -66.33)
CIE-LCHlch(29.78, 77.37, 300.99°)
OKLaboklab(41.12% 0.0062 -0.1919)
OKLCHoklch(41.12% 0.192 271.9)
XYZxyz(10.1440, 6.1474, 41.7178)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D34B0 #B0A92D
analogous
#2D75B0 #2D34B0 #672DB0
triadic
#2D34B0 #B02D34 #34B02D
tetradic
#2D34B0 #B02D75 #B0A92D #2DB067
square
#2D34B0 #B02D75 #B0A92D #2DB067
split-complementary
#2D34B0 #B0672D #75B02D
monochromatic
#14174F #21267F #2D34B0 #4A51D1 #7A80DD

Accessibility & contrast

On white

9.42
#2D34B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D34B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D34B0
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D34B0#FFFFFF#000000##FFFFFF
##2D34B01.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d34b0;
/* rgb */ color: rgb(45, 52, 176);
/* oklch */ color: oklch(41.1% 0.192 271.9);
Tailwind
colors: {
  custom: {
    50: '#7b6cc9',
    500: '#2d34b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d34b0;
$custom-light: #7b6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d34b0",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 236.794,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.19201,
    "h": 271.9
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#2D34B0
secondary
#C5C173
accent
#DA45E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D34B0

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

Preview Lab → · Contrast checker → · Palette generator →

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