#2B35A9#2B35A9

#2B35A9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.182 H 271.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2B35A9
RGBrgb(43, 53, 169)
HSLhsl(235, 59%, 42%)
HSVhsv(235, 75%, 66%)
CMYKcmyk(74.6%, 68.6%, 0%, 33.7%)
CIE-LABlab(29.22, 36.55, -63.06)
CIE-LCHlch(29.22, 72.89, 300.10°)
OKLaboklab(40.48% 0.0043 -0.1824)
OKLCHoklch(40.48% 0.182 271.3)
XYZxyz(9.4284, 5.9234, 38.1749)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35A9 #A99F2B
analogous
#2B74A9 #2B35A9 #602BA9
triadic
#2B35A9 #A92B35 #35A92B
tetradic
#2B35A9 #A92B74 #A99F2B #2BA960
square
#2B35A9 #A92B74 #A99F2B #2BA960
split-complementary
#2B35A9 #A9602B #74A92B
monochromatic
#121647 #1F2678 #2B35A9 #424DCF #737BDB

Accessibility & contrast

On white

9.61
#2B35A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B35A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35A9
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35A9#FFFFFF#000000##FFFFFF
##2B35A91.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b35a9;
/* rgb */ color: rgb(43, 53, 169);
/* oklch */ color: oklch(40.5% 0.182 271.3);
Tailwind
colors: {
  custom: {
    50: '#786cc4',
    500: '#2b35a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b35a9;
$custom-light: #786cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35a9",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 235.238,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.18248,
    "h": 271.3
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#2B35A9
secondary
#C3BC6D
accent
#D645E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B35A9

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

Preview Lab → · Contrast checker → · Palette generator →

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