#2E35B7#2E35B7

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

Color values

HEX#2E35B7
RGBrgb(46, 53, 183)
HSLhsl(237, 60%, 45%)
HSVhsv(237, 75%, 72%)
CMYKcmyk(74.9%, 71%, 0%, 28.2%)
CIE-LABlab(30.75, 41.75, -68.90)
CIE-LCHlch(30.75, 80.56, 301.21°)
OKLaboklab(42.04% 0.0059 -0.1994)
OKLCHoklch(42.04% 0.199 271.7)
XYZxyz(10.9442, 6.5448, 45.4771)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35B7 #B7B02E
analogous
#2E7AB7 #2E35B7 #6B2EB7
triadic
#2E35B7 #B72E35 #35B72E
tetradic
#2E35B7 #B72E7A #B7B02E #2EB76B
square
#2E35B7 #B72E7A #B7B02E #2EB76B
split-complementary
#2E35B7 #B76B2E #7AB72E
monochromatic
#151955 #222786 #2E35B7 #4F56D3 #8085DF

Accessibility & contrast

On white

9.09
#2E35B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E35B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35B7
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35B7#FFFFFF#000000##FFFFFF
##2E35B71.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.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: #2e35b7;
/* rgb */ color: rgb(46, 53, 183);
/* oklch */ color: oklch(42.0% 0.199 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d6dce',
    500: '#2e35b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e35b7;
$custom-light: #7d6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35b7",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 236.934,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.19949,
    "h": 271.7
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#2E35B7
secondary
#C8C479
accent
#DB45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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