#2B35AB#2B35AB

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

Color values

HEX#2B35AB
RGBrgb(43, 53, 171)
HSLhsl(235, 60%, 42%)
HSVhsv(235, 75%, 67%)
CMYKcmyk(74.9%, 69%, 0%, 32.9%)
CIE-LABlab(29.41, 37.26, -63.95)
CIE-LCHlch(29.41, 74.01, 300.23°)
OKLaboklab(40.67% 0.0041 -0.185)
OKLCHoklch(40.67% 0.185 271.3)
XYZxyz(9.6176, 5.9991, 39.1712)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35AB #ABA12B
analogous
#2B75AB #2B35AB #612BAB
triadic
#2B35AB #AB2B35 #35AB2B
tetradic
#2B35AB #AB2B75 #ABA12B #2BAB61
square
#2B35AB #AB2B75 #ABA12B #2BAB61
split-complementary
#2B35AB #AB612B #75AB2B
monochromatic
#121749 #1F267A #2B35AB #434ED0 #747CDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B35AB#FFFFFF#000000##FFFFFF
##2B35AB1.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)
#004BAF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b35ab;
/* rgb */ color: rgb(43, 53, 171);
/* oklch */ color: oklch(40.7% 0.185 271.3);
Tailwind
colors: {
  custom: {
    50: '#796dc5',
    500: '#2b35ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b35ab;
$custom-light: #796dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35ab",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 235.313,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.18506,
    "h": 271.3
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#2B35AB
secondary
#C4BD6E
accent
#D745E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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