#2D35B1#2D35B1

#2D35B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.192 H 271.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2D35B1
RGBrgb(45, 53, 177)
HSLhsl(236, 59%, 44%)
HSVhsv(236, 75%, 69%)
CMYKcmyk(74.6%, 70.1%, 0%, 30.6%)
CIE-LABlab(30.10, 39.58, -66.40)
CIE-LCHlch(30.10, 77.30, 300.80°)
OKLaboklab(41.38% 0.0056 -0.1921)
OKLCHoklch(41.38% 0.192 271.7)
XYZxyz(10.2884, 6.2773, 42.2559)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35B1 #B1A92D
analogous
#2D77B1 #2D35B1 #672DB1
triadic
#2D35B1 #B12D35 #35B12D
tetradic
#2D35B1 #B12D77 #B1A92D #2DB167
square
#2D35B1 #B12D77 #B1A92D #2DB167
split-complementary
#2D35B1 #B1672D #77B12D
monochromatic
#14184F #212680 #2D35B1 #4A52D1 #7B81DD

Accessibility & contrast

On white

9.31
#2D35B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D35B1
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35B1#FFFFFF#000000##FFFFFF
##2D35B11.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d35b1;
/* rgb */ color: rgb(45, 53, 177);
/* oklch */ color: oklch(41.4% 0.192 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b6dc9',
    500: '#2d35b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d35b1;
$custom-light: #7b6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35b1",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 236.364,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41377,
    "c": 0.1922,
    "h": 271.7
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#2D35B1
secondary
#C6C174
accent
#D945E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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