#2D35B6#2D35B6

#2D35B6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.198 H 271.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2D35B6
RGBrgb(45, 53, 182)
HSLhsl(236, 60%, 45%)
HSVhsv(236, 75%, 71%)
CMYKcmyk(75.3%, 70.9%, 0%, 28.6%)
CIE-LABlab(30.59, 41.31, -68.56)
CIE-LCHlch(30.59, 80.05, 301.07°)
OKLaboklab(41.88% 0.0049 -0.1984)
OKLCHoklch(41.88% 0.198 271.4)
XYZxyz(10.7959, 6.4803, 44.9288)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35B6 #B6AE2D
analogous
#2D7AB6 #2D35B6 #692DB6
triadic
#2D35B6 #B62D35 #35B62D
tetradic
#2D35B6 #B62D7A #B6AE2D #2DB669
square
#2D35B6 #B62D7A #B6AE2D #2DB669
split-complementary
#2D35B6 #B6692D #7AB62D
monochromatic
#151854 #212785 #2D35B6 #4D55D3 #7E84DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D35B6#FFFFFF#000000##FFFFFF
##2D35B61.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)
#004FBA
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d35b6;
/* rgb */ color: rgb(45, 53, 182);
/* oklch */ color: oklch(41.9% 0.198 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c6dcd',
    500: '#2d35b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d35b6;
$custom-light: #7c6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35b6",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 236.496,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41879,
    "c": 0.19849,
    "h": 271.4
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#2D35B6
secondary
#C8C377
accent
#DA44E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D35B6

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

Preview Lab → · Contrast checker → · Palette generator →

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