#2E35AA#2E35AA

#2E35AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.183 H 272.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2E35AA
RGBrgb(46, 53, 170)
HSLhsl(237, 57%, 42%)
HSVhsv(237, 73%, 67%)
CMYKcmyk(72.9%, 68.8%, 0%, 33.3%)
CIE-LABlab(29.48, 37.23, -63.22)
CIE-LCHlch(29.48, 73.37, 300.49°)
OKLaboklab(40.74% 0.0075 -0.1828)
OKLCHoklch(40.74% 0.183 272.3)
XYZxyz(9.6531, 6.0284, 38.6773)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35AA #AAA32E
analogous
#2E73AA #2E35AA #652EAA
triadic
#2E35AA #AA2E35 #35AA2E
tetradic
#2E35AA #AA2E73 #AAA32E #2EAA65
square
#2E35AA #AA2E73 #AAA32E #2EAA65
split-complementary
#2E35AA #AA652E #73AA2E
monochromatic
#14174A #21267A #2E35AA #484FCD #787EDA

Accessibility & contrast

On white

9.52
#2E35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2E35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35AA
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35AA#FFFFFF#000000##FFFFFF
##2E35AA1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e35aa;
/* rgb */ color: rgb(46, 53, 170);
/* oklch */ color: oklch(40.7% 0.183 272.3);
Tailwind
colors: {
  custom: {
    50: '#796dc4',
    500: '#2e35aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e35aa;
$custom-light: #796dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35aa",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 236.613,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40742,
    "c": 0.18297,
    "h": 272.3
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#2E35AA
secondary
#C3BE71
accent
#D847E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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