#2D35B7#2D35B7

#2D35B7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.200 H 271.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2D35B7
RGBrgb(45, 53, 183)
HSLhsl(237, 61%, 45%)
HSVhsv(237, 75%, 72%)
CMYKcmyk(75.4%, 71%, 0%, 28.2%)
CIE-LABlab(30.69, 41.66, -68.99)
CIE-LCHlch(30.69, 80.59, 301.12°)
OKLaboklab(41.98% 0.0048 -0.1997)
OKLCHoklch(41.98% 0.2 271.4)
XYZxyz(10.8996, 6.5218, 45.4750)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35B7 #B7AF2D
analogous
#2D7AB7 #2D35B7 #6A2DB7
triadic
#2D35B7 #B72D35 #35B72D
tetradic
#2D35B7 #B72D7A #B7AF2D #2DB76A
square
#2D35B7 #B72D7A #B7AF2D #2DB76A
split-complementary
#2D35B7 #B76A2D #7AB72D
monochromatic
#151955 #212786 #2D35B7 #4E56D3 #7F85DF

Accessibility & contrast

On white

9.11
#2D35B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D35B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35B7
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35B7#FFFFFF#000000##FFFFFF
##2D35B71.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d35b7;
/* rgb */ color: rgb(45, 53, 183);
/* oklch */ color: oklch(42.0% 0.200 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c6dce',
    500: '#2d35b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d35b7;
$custom-light: #7c6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35b7",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 236.522,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41981,
    "c": 0.19975,
    "h": 271.4
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#2D35B7
secondary
#C8C478
accent
#DA44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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