#2E35B5#2E35B5

#2E35B5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.197 H 271.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2E35B5
RGBrgb(46, 53, 181)
HSLhsl(237, 59%, 45%)
HSVhsv(237, 75%, 71%)
CMYKcmyk(74.6%, 70.7%, 0%, 29%)
CIE-LABlab(30.55, 41.06, -68.04)
CIE-LCHlch(30.55, 79.47, 301.11°)
OKLaboklab(41.83% 0.0061 -0.1969)
OKLCHoklch(41.83% 0.197 271.8)
XYZxyz(10.7375, 6.4621, 44.3885)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35B5 #B5AE2E
analogous
#2E79B5 #2E35B5 #6B2EB5
triadic
#2E35B5 #B52E35 #35B52E
tetradic
#2E35B5 #B52E79 #B5AE2E #2EB56B
square
#2E35B5 #B52E79 #B5AE2E #2EB56B
split-complementary
#2E35B5 #B56B2E #79B52E
monochromatic
#151853 #222784 #2E35B5 #4E55D2 #7F84DE

Accessibility & contrast

On white

9.16
#2E35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E35B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35B5
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35B5#FFFFFF#000000##FFFFFF
##2E35B51.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e35b5;
/* rgb */ color: rgb(46, 53, 181);
/* oklch */ color: oklch(41.8% 0.197 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c6dcc',
    500: '#2e35b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e35b5;
$custom-light: #7c6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35b5",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 236.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.19698,
    "h": 271.8
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#2E35B5
secondary
#C7C378
accent
#DA45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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