#2B35A5#2B35A5

#2B35A5 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.177 H 271.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2B35A5
RGBrgb(43, 53, 165)
HSLhsl(235, 59%, 41%)
HSVhsv(235, 74%, 65%)
CMYKcmyk(73.9%, 67.9%, 0%, 35.3%)
CIE-LABlab(28.84, 35.12, -61.28)
CIE-LCHlch(28.84, 70.63, 299.82°)
OKLaboklab(40.08% 0.0047 -0.1772)
OKLCHoklch(40.08% 0.177 271.5)
XYZxyz(9.0586, 5.7755, 36.2274)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35A5 #A59B2B
analogous
#2B72A5 #2B35A5 #5E2BA5
triadic
#2B35A5 #A52B35 #35A52B
tetradic
#2B35A5 #A52B72 #A59B2B #2BA55E
square
#2B35A5 #A52B72 #A59B2B #2BA55E
split-complementary
#2B35A5 #A55E2B #72A52B
monochromatic
#121644 #1E2574 #2B35A5 #404CCD #7179DA

Accessibility & contrast

On white

9.74
#2B35A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B35A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35A5
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35A5#FFFFFF#000000##FFFFFF
##2B35A51.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b35a5;
/* rgb */ color: rgb(43, 53, 165);
/* oklch */ color: oklch(40.1% 0.177 271.5);
Tailwind
colors: {
  custom: {
    50: '#776cc1',
    500: '#2b35a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b35a5;
$custom-light: #776cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35a5",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 235.082,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40084,
    "c": 0.17727,
    "h": 271.5
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#2B35A5
secondary
#C1BA6B
accent
#D546E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B35A5

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

Preview Lab → · Contrast checker → · Palette generator →

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