#2D35B2#2D35B2

#2D35B2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.193 H 271.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2D35B2
RGBrgb(45, 53, 178)
HSLhsl(236, 60%, 44%)
HSVhsv(236, 75%, 70%)
CMYKcmyk(74.7%, 70.2%, 0%, 30.2%)
CIE-LABlab(30.20, 39.92, -66.83)
CIE-LCHlch(30.20, 77.85, 300.85°)
OKLaboklab(41.48% 0.0054 -0.1934)
OKLCHoklch(41.48% 0.193 271.6)
XYZxyz(10.3885, 6.3174, 42.7827)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35B2 #B2AA2D
analogous
#2D77B2 #2D35B2 #672DB2
triadic
#2D35B2 #B22D35 #35B22D
tetradic
#2D35B2 #B22D77 #B2AA2D #2DB267
square
#2D35B2 #B22D77 #B2AA2D #2DB267
split-complementary
#2D35B2 #B2672D #77B22D
monochromatic
#141850 #212681 #2D35B2 #4B53D1 #7C82DE

Accessibility & contrast

On white

9.28
#2D35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2D35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35B2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35B2#FFFFFF#000000##FFFFFF
##2D35B21.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d35b2;
/* rgb */ color: rgb(45, 53, 178);
/* oklch */ color: oklch(41.5% 0.193 271.6);
Tailwind
colors: {
  custom: {
    50: '#7b6dca',
    500: '#2d35b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d35b2;
$custom-light: #7b6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35b2",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 236.391,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.19347,
    "h": 271.6
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#2D35B2
secondary
#C6C175
accent
#D945E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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