#2E35B8#2E35B8

#2E35B8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.1% C 0.201 H 271.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2E35B8
RGBrgb(46, 53, 184)
HSLhsl(237, 60%, 45%)
HSVhsv(237, 75%, 72%)
CMYKcmyk(75%, 71.2%, 0%, 27.8%)
CIE-LABlab(30.85, 42.10, -69.33)
CIE-LCHlch(30.85, 81.11, 301.26°)
OKLaboklab(42.14% 0.0057 -0.2006)
OKLCHoklch(42.14% 0.201 271.6)
XYZxyz(11.0486, 6.5866, 46.0272)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E35B8 #B8B12E
analogous
#2E7AB8 #2E35B8 #6C2EB8
triadic
#2E35B8 #B82E35 #35B82E
tetradic
#2E35B8 #B82E7A #B8B12E #2EB86C
square
#2E35B8 #B82E7A #B8B12E #2EB86C
split-complementary
#2E35B8 #B86C2E #7AB82E
monochromatic
#161956 #222787 #2E35B8 #5057D3 #8186DF

Accessibility & contrast

On white

9.06
#2E35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E35B8
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E35B8#FFFFFF#000000##FFFFFF
##2E35B81.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e35b8;
/* rgb */ color: rgb(46, 53, 184);
/* oklch */ color: oklch(42.1% 0.201 271.6);
Tailwind
colors: {
  custom: {
    50: '#7d6dcf',
    500: '#2e35b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e35b8;
$custom-light: #7d6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e35b8",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 236.957,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.20073,
    "h": 271.6
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#2E35B8
secondary
#C8C479
accent
#DB45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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