#2B35B5#2B35B5

#2B35B5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.198 H 270.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2B35B5
RGBrgb(43, 53, 181)
HSLhsl(236, 62%, 44%)
HSVhsv(236, 76%, 71%)
CMYKcmyk(76.2%, 70.7%, 0%, 29%)
CIE-LABlab(30.39, 40.78, -68.31)
CIE-LCHlch(30.39, 79.56, 300.84°)
OKLaboklab(41.67% 0.0029 -0.1977)
OKLCHoklch(41.67% 0.198 270.8)
XYZxyz(10.6070, 6.3948, 44.3824)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35B5 #B5AB2B
analogous
#2B7AB5 #2B35B5 #662BB5
triadic
#2B35B5 #B52B35 #35B52B
tetradic
#2B35B5 #B52B7A #B5AB2B #2BB566
square
#2B35B5 #B52B7A #B5AB2B #2BB566
split-complementary
#2B35B5 #B5662B #7AB52B
monochromatic
#141852 #1F2784 #2B35B5 #4953D4 #7B82E0

Accessibility & contrast

On white

9.21
#2B35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B35B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35B5
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35B5#FFFFFF#000000##FFFFFF
##2B35B51.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b35b5;
/* rgb */ color: rgb(43, 53, 181);
/* oklch */ color: oklch(41.7% 0.198 270.8);
Tailwind
colors: {
  custom: {
    50: '#7b6dcc',
    500: '#2b35b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b35b5;
$custom-light: #7b6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35b5",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 235.652,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41673,
    "c": 0.19776,
    "h": 270.8
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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