#2E35B6#2E35B6

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

Color values

HEX#2E35B6
RGBrgb(46, 53, 182)
HSLhsl(237, 60%, 45%)
HSVhsv(237, 75%, 71%)
CMYKcmyk(74.7%, 70.9%, 0%, 28.6%)
CIE-LABlab(30.65, 41.41, -68.47)
CIE-LCHlch(30.65, 80.02, 301.16°)
OKLaboklab(41.93% 0.006 -0.1981)
OKLCHoklch(41.93% 0.198 271.7)
XYZxyz(10.8405, 6.5033, 44.9308)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35B6 #B6AF2E
analogous
#2E79B6 #2E35B6 #6B2EB6
triadic
#2E35B6 #B62E35 #35B62E
tetradic
#2E35B6 #B62E79 #B6AF2E #2EB66B
square
#2E35B6 #B62E79 #B6AF2E #2EB66B
split-complementary
#2E35B6 #B66B2E #79B62E
monochromatic
#151954 #222785 #2E35B6 #4F56D2 #8085DF

Accessibility & contrast

On white

9.13
#2E35B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E35B6
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35B6#FFFFFF#000000##FFFFFF
##2E35B61.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e35b6;
/* rgb */ color: rgb(46, 53, 182);
/* oklch */ color: oklch(41.9% 0.198 271.7);
Tailwind
colors: {
  custom: {
    50: '#7c6dcd',
    500: '#2e35b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e35b6;
$custom-light: #7c6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35b6",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 236.912,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41934,
    "c": 0.19823,
    "h": 271.7
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E35B6

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

Preview Lab → · Contrast checker → · Palette generator →

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