#2D35B9#2D35B9

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

Color values

HEX#2D35B9
RGBrgb(45, 53, 185)
HSLhsl(237, 61%, 45%)
HSVhsv(237, 76%, 73%)
CMYKcmyk(75.7%, 71.4%, 0%, 27.5%)
CIE-LABlab(30.89, 42.35, -69.85)
CIE-LCHlch(30.89, 81.68, 301.23°)
OKLaboklab(42.18% 0.0045 -0.2022)
OKLCHoklch(42.18% 0.202 271.3)
XYZxyz(11.1093, 6.6057, 46.5791)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35B9 #B9B12D
analogous
#2D7BB9 #2D35B9 #6B2DB9
triadic
#2D35B9 #B92D35 #35B92D
tetradic
#2D35B9 #B92D7B #B9B12D #2DB96B
square
#2D35B9 #B92D7B #B9B12D #2DB96B
split-complementary
#2D35B9 #B96B2D #7BB92D
monochromatic
#151957 #212788 #2D35B9 #4F57D4 #8086E0

Accessibility & contrast

On white

9.05
#2D35B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D35B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35B9
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35B9#FFFFFF#000000##FFFFFF
##2D35B91.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d35b9;
/* rgb */ color: rgb(45, 53, 185);
/* oklch */ color: oklch(42.2% 0.202 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d6dcf',
    500: '#2d35b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d35b9;
$custom-light: #7d6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35b9",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 236.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42184,
    "c": 0.20223,
    "h": 271.3
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D35B9

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

Preview Lab → · Contrast checker → · Palette generator →

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