#2B35B7#2B35B7

#2B35B7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 41.9% C 0.200 H 270.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2B35B7
RGBrgb(43, 53, 183)
HSLhsl(236, 62%, 44%)
HSVhsv(236, 77%, 72%)
CMYKcmyk(76.5%, 71%, 0%, 28.2%)
CIE-LABlab(30.59, 41.47, -69.17)
CIE-LCHlch(30.59, 80.65, 300.95°)
OKLaboklab(41.88% 0.0027 -0.2002)
OKLCHoklch(41.88% 0.2 270.8)
XYZxyz(10.8137, 6.4775, 45.4709)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35B7 #B7AD2B
analogous
#2B7BB7 #2B35B7 #672BB7
triadic
#2B35B7 #B72B35 #35B72B
tetradic
#2B35B7 #B72B7B #B7AD2B #2BB767
square
#2B35B7 #B72B7B #B7AD2B #2BB767
split-complementary
#2B35B7 #B7672B #7BB72B
monochromatic
#141854 #1F2785 #2B35B7 #4B54D5 #7C83E0

Accessibility & contrast

On white

9.15
#2B35B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B35B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35B7
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35B7#FFFFFF#000000##FFFFFF
##2B35B71.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b35b7;
/* rgb */ color: rgb(43, 53, 183);
/* oklch */ color: oklch(41.9% 0.200 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c6dce',
    500: '#2b35b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b35b7;
$custom-light: #7c6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35b7",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 235.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.20027,
    "h": 270.8
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#2B35B7
secondary
#C9C375
accent
#D943E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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