#2E35AF#2E35AF

#2E35AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.189 H 272.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2E35AF
RGBrgb(46, 53, 175)
HSLhsl(237, 58%, 43%)
HSVhsv(237, 74%, 69%)
CMYKcmyk(73.7%, 69.7%, 0%, 31.4%)
CIE-LABlab(29.96, 38.98, -65.43)
CIE-LCHlch(29.96, 76.16, 300.79°)
OKLaboklab(41.23% 0.0069 -0.1893)
OKLCHoklch(41.23% 0.189 272.1)
XYZxyz(10.1351, 6.2212, 41.2158)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35AF #AFA82E
analogous
#2E75AF #2E35AF #672EAF
triadic
#2E35AF #AF2E35 #35AF2E
tetradic
#2E35AF #AF2E75 #AFA82E #2EAF67
square
#2E35AF #AF2E75 #AFA82E #2EAF67
split-complementary
#2E35AF #AF672E #75AF2E
monochromatic
#15184E #21267F #2E35AF #4B52D0 #7B80DC

Accessibility & contrast

On white

9.36
#2E35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35AF
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35AF#FFFFFF#000000##FFFFFF
##2E35AF1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e35af;
/* rgb */ color: rgb(46, 53, 175);
/* oklch */ color: oklch(41.2% 0.189 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b6dc8',
    500: '#2e35af',
    950: '#000000',
  },
}
SCSS
$custom: #2e35af;
$custom-light: #7b6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35af",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 236.744,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.1894,
    "h": 272.1
  },
  "luminance": 0.06222
}

Semantic roles & 50–950 ramp

primary
#2E35AF
secondary
#C5C074
accent
#D946E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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