#2E35A9#2E35A9

#2E35A9 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.182 H 272.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2E35A9
RGBrgb(46, 53, 169)
HSLhsl(237, 57%, 42%)
HSVhsv(237, 73%, 66%)
CMYKcmyk(72.8%, 68.6%, 0%, 33.7%)
CIE-LABlab(29.39, 36.88, -62.78)
CIE-LCHlch(29.39, 72.81, 300.43°)
OKLaboklab(40.64% 0.0076 -0.1815)
OKLCHoklch(40.64% 0.182 272.4)
XYZxyz(9.5588, 5.9907, 38.1810)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35A9 #A9A22E
analogous
#2E73A9 #2E35A9 #642EA9
triadic
#2E35A9 #A92E35 #35A92E
tetradic
#2E35A9 #A92E73 #A9A22E #2EA964
square
#2E35A9 #A92E73 #A9A22E #2EA964
split-complementary
#2E35A9 #A9642E #73A92E
monochromatic
#141749 #212679 #2E35A9 #474FCD #777DDA

Accessibility & contrast

On white

9.55
#2E35A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E35A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35A9
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35A9#FFFFFF#000000##FFFFFF
##2E35A91.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e35a9;
/* rgb */ color: rgb(46, 53, 169);
/* oklch */ color: oklch(40.6% 0.182 272.4);
Tailwind
colors: {
  custom: {
    50: '#796dc4',
    500: '#2e35a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e35a9;
$custom-light: #796dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35a9",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 236.585,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.18168,
    "h": 272.4
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#2E35A9
secondary
#C2BD71
accent
#D847E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2E35A9

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

Preview Lab → · Contrast checker → · Palette generator →

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