#2D35B0#2D35B0

#2D35B0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.191 H 271.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2D35B0
RGBrgb(45, 53, 176)
HSLhsl(236, 59%, 43%)
HSVhsv(236, 74%, 69%)
CMYKcmyk(74.4%, 69.9%, 0%, 31%)
CIE-LABlab(30.00, 39.23, -65.96)
CIE-LCHlch(30.00, 76.74, 300.74°)
OKLaboklab(41.28% 0.0057 -0.1908)
OKLCHoklch(41.28% 0.191 271.7)
XYZxyz(10.1891, 6.2376, 41.7329)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35B0 #B0A82D
analogous
#2D76B0 #2D35B0 #662DB0
triadic
#2D35B0 #B02D35 #35B02D
tetradic
#2D35B0 #B02D76 #B0A82D #2DB066
square
#2D35B0 #B02D76 #B0A82D #2DB066
split-complementary
#2D35B0 #B0662D #76B02D
monochromatic
#14184F #21267F #2D35B0 #4A52D1 #7A80DD

Accessibility & contrast

On white

9.34
#2D35B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D35B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35B0
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35B0#FFFFFF#000000##FFFFFF
##2D35B01.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d35b0;
/* rgb */ color: rgb(45, 53, 176);
/* oklch */ color: oklch(41.3% 0.191 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b6dc9',
    500: '#2d35b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d35b0;
$custom-light: #7b6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35b0",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 236.336,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.19092,
    "h": 271.7
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#2D35B0
secondary
#C5C073
accent
#D945E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D35B0

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

Preview Lab → · Contrast checker → · Palette generator →

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