#2B35B4#2B35B4

#2B35B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.197 H 270.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2B35B4
RGBrgb(43, 53, 180)
HSLhsl(236, 61%, 44%)
HSVhsv(236, 76%, 71%)
CMYKcmyk(76.1%, 70.6%, 0%, 29.4%)
CIE-LABlab(30.29, 40.43, -67.88)
CIE-LCHlch(30.29, 79.01, 300.78°)
OKLaboklab(41.57% 0.0031 -0.1965)
OKLCHoklch(41.57% 0.197 270.9)
XYZxyz(10.5048, 6.3539, 43.8440)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35B4 #B4AA2B
analogous
#2B79B4 #2B35B4 #652BB4
triadic
#2B35B4 #B42B35 #35B42B
tetradic
#2B35B4 #B42B79 #B4AA2B #2BB465
square
#2B35B4 #B42B79 #B4AA2B #2BB465
split-complementary
#2B35B4 #B4652B #79B42B
monochromatic
#131851 #1F2683 #2B35B4 #4953D3 #7A82DF

Accessibility & contrast

On white

9.25
#2B35B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B35B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35B4
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35B4#FFFFFF#000000##FFFFFF
##2B35B41.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b35b4;
/* rgb */ color: rgb(43, 53, 180);
/* oklch */ color: oklch(41.6% 0.197 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b6dcc',
    500: '#2b35b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b35b4;
$custom-light: #7b6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35b4",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 235.62,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41572,
    "c": 0.19651,
    "h": 270.9
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#2B35B4
secondary
#C7C173
accent
#D943E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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