#2E35B3#2E35B3

#2E35B3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.194 H 271.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2E35B3
RGBrgb(46, 53, 179)
HSLhsl(237, 59%, 44%)
HSVhsv(237, 74%, 70%)
CMYKcmyk(74.3%, 70.4%, 0%, 29.8%)
CIE-LABlab(30.35, 40.37, -67.17)
CIE-LCHlch(30.35, 78.37, 301.01°)
OKLaboklab(41.63% 0.0064 -0.1944)
OKLCHoklch(41.63% 0.194 271.9)
XYZxyz(10.5338, 6.3806, 43.3155)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35B3 #B3AC2E
analogous
#2E78B3 #2E35B3 #6A2EB3
triadic
#2E35B3 #B32E35 #35B32E
tetradic
#2E35B3 #B32E78 #B3AC2E #2EB36A
square
#2E35B3 #B32E78 #B3AC2E #2EB36A
split-complementary
#2E35B3 #B36A2E #78B32E
monochromatic
#151852 #212782 #2E35B3 #4D54D1 #7E83DE

Accessibility & contrast

On white

9.23
#2E35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E35B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35B3
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35B3#FFFFFF#000000##FFFFFF
##2E35B31.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e35b3;
/* rgb */ color: rgb(46, 53, 179);
/* oklch */ color: oklch(41.6% 0.194 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c6dcb',
    500: '#2e35b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e35b3;
$custom-light: #7c6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35b3",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 236.842,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.19447,
    "h": 271.9
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#2E35B3
secondary
#C6C276
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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