#2D35B8#2D35B8

#2D35B8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.1% C 0.201 H 271.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2D35B8
RGBrgb(45, 53, 184)
HSLhsl(237, 61%, 45%)
HSVhsv(237, 76%, 72%)
CMYKcmyk(75.5%, 71.2%, 0%, 27.8%)
CIE-LABlab(30.79, 42.00, -69.42)
CIE-LCHlch(30.79, 81.14, 301.18°)
OKLaboklab(42.08% 0.0047 -0.2009)
OKLCHoklch(42.08% 0.201 271.3)
XYZxyz(11.0041, 6.5636, 46.0251)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35B8 #B8B02D
analogous
#2D7AB8 #2D35B8 #6B2DB8
triadic
#2D35B8 #B82D35 #35B82D
tetradic
#2D35B8 #B82D7A #B8B02D #2DB86B
square
#2D35B8 #B82D7A #B8B02D #2DB86B
split-complementary
#2D35B8 #B86B2D #7AB82D
monochromatic
#151956 #212787 #2D35B8 #4E56D4 #8085E0

Accessibility & contrast

On white

9.08
#2D35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35B8
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35B8#FFFFFF#000000##FFFFFF
##2D35B81.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d35b8;
/* rgb */ color: rgb(45, 53, 184);
/* oklch */ color: oklch(42.1% 0.201 271.3);
Tailwind
colors: {
  custom: {
    50: '#7c6dcf',
    500: '#2d35b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d35b8;
$custom-light: #7c6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35b8",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 236.547,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42082,
    "c": 0.20099,
    "h": 271.3
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#2D35B8
secondary
#C9C478
accent
#DB44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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