#2D35B3#2D35B3

#2D35B3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.195 H 271.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2D35B3
RGBrgb(45, 53, 179)
HSLhsl(236, 60%, 44%)
HSVhsv(236, 75%, 70%)
CMYKcmyk(74.9%, 70.4%, 0%, 29.8%)
CIE-LABlab(30.30, 40.27, -67.27)
CIE-LCHlch(30.30, 78.40, 300.91°)
OKLaboklab(41.58% 0.0053 -0.1946)
OKLCHoklch(41.58% 0.195 271.6)
XYZxyz(10.4892, 6.3577, 43.3134)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35B3 #B3AB2D
analogous
#2D78B3 #2D35B3 #682DB3
triadic
#2D35B3 #B32D35 #35B32D
tetradic
#2D35B3 #B32D78 #B3AB2D #2DB368
square
#2D35B3 #B32D78 #B3AB2D #2DB368
split-complementary
#2D35B3 #B3682D #78B32D
monochromatic
#141851 #212782 #2D35B3 #4B53D2 #7C82DE

Accessibility & contrast

On white

9.24
#2D35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D35B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35B3
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35B3#FFFFFF#000000##FFFFFF
##2D35B31.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d35b3;
/* rgb */ color: rgb(45, 53, 179);
/* oklch */ color: oklch(41.6% 0.195 271.6);
Tailwind
colors: {
  custom: {
    50: '#7b6dcb',
    500: '#2d35b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d35b3;
$custom-light: #7b6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35b3",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 236.418,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41577,
    "c": 0.19472,
    "h": 271.6
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#2D35B3
secondary
#C7C275
accent
#DA45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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