#2B35B0#2B35B0

#2B35B0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.191 H 271.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2B35B0
RGBrgb(43, 53, 176)
HSLhsl(235, 61%, 43%)
HSVhsv(235, 76%, 69%)
CMYKcmyk(75.6%, 69.9%, 0%, 31%)
CIE-LABlab(29.89, 39.03, -66.14)
CIE-LCHlch(29.89, 76.80, 300.54°)
OKLaboklab(41.17% 0.0035 -0.1914)
OKLCHoklch(41.17% 0.191 271.1)
XYZxyz(10.1032, 6.1933, 41.7288)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35B0 #B0A62B
analogous
#2B77B0 #2B35B0 #642BB0
triadic
#2B35B0 #B02B35 #35B02B
tetradic
#2B35B0 #B02B77 #B0A62B #2BB064
square
#2B35B0 #B02B77 #B0A62B #2BB064
split-complementary
#2B35B0 #B0642B #77B02B
monochromatic
#13174E #1F267F #2B35B0 #4651D2 #787FDE

Accessibility & contrast

On white

9.38
#2B35B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B35B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35B0
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35B0#FFFFFF#000000##FFFFFF
##2B35B01.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b35b0;
/* rgb */ color: rgb(43, 53, 176);
/* oklch */ color: oklch(41.2% 0.191 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a6dc9',
    500: '#2b35b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b35b0;
$custom-light: #7a6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35b0",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 235.489,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.19145,
    "h": 271.1
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#2B35B0
secondary
#C6BF71
accent
#D844E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B35B0

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

Preview Lab → · Contrast checker → · Palette generator →

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