#2E35AC#2E35AC

#2E35AC is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.186 H 272.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2E35AC
RGBrgb(46, 53, 172)
HSLhsl(237, 58%, 43%)
HSVhsv(237, 73%, 67%)
CMYKcmyk(73.3%, 69.2%, 0%, 32.5%)
CIE-LABlab(29.67, 37.93, -64.11)
CIE-LCHlch(29.67, 74.49, 300.61°)
OKLaboklab(40.94% 0.0073 -0.1854)
OKLCHoklch(40.94% 0.186 272.2)
XYZxyz(9.8437, 6.1046, 39.6813)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35AC #ACA52E
analogous
#2E74AC #2E35AC #662EAC
triadic
#2E35AC #AC2E35 #35AC2E
tetradic
#2E35AC #AC2E74 #ACA52E #2EAC66
square
#2E35AC #AC2E74 #ACA52E #2EAC66
split-complementary
#2E35AC #AC662E #74AC2E
monochromatic
#14174B #21267C #2E35AC #4950CE #797FDB

Accessibility & contrast

On white

9.45
#2E35AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E35AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35AC
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35AC#FFFFFF#000000##FFFFFF
##2E35AC1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e35ac;
/* rgb */ color: rgb(46, 53, 172);
/* oklch */ color: oklch(40.9% 0.186 272.2);
Tailwind
colors: {
  custom: {
    50: '#7a6dc6',
    500: '#2e35ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e35ac;
$custom-light: #7a6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35ac",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 236.667,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40938,
    "c": 0.18555,
    "h": 272.2
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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