#2B35AE#2B35AE

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

Color values

HEX#2B35AE
RGBrgb(43, 53, 174)
HSLhsl(235, 60%, 43%)
HSVhsv(235, 75%, 68%)
CMYKcmyk(75.3%, 69.5%, 0%, 31.8%)
CIE-LABlab(29.70, 38.32, -65.27)
CIE-LCHlch(29.70, 75.69, 300.42°)
OKLaboklab(40.97% 0.0038 -0.1889)
OKLCHoklch(40.97% 0.189 271.1)
XYZxyz(9.9068, 6.1147, 40.6943)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35AE #AEA42B
analogous
#2B76AE #2B35AE #632BAE
triadic
#2B35AE #AE2B35 #35AE2B
tetradic
#2B35AE #AE2B76 #AEA42B #2BAE63
square
#2B35AE #AE2B76 #AEA42B #2BAE63
split-complementary
#2B35AE #AE632B #76AE2B
monochromatic
#13174C #1F267D #2B35AE #4550D1 #767EDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B35AE#FFFFFF#000000##FFFFFF
##2B35AE1.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)
#004CB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b35ae;
/* rgb */ color: rgb(43, 53, 174);
/* oklch */ color: oklch(41.0% 0.189 271.1);
Tailwind
colors: {
  custom: {
    50: '#796dc7',
    500: '#2b35ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b35ae;
$custom-light: #796dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35ae",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 235.42,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.18891,
    "h": 271.1
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#2B35AE
secondary
#C5BE70
accent
#D744E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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