#2B35A6#2B35A6

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

Color values

HEX#2B35A6
RGBrgb(43, 53, 166)
HSLhsl(235, 59%, 41%)
HSVhsv(235, 74%, 65%)
CMYKcmyk(74.1%, 68.1%, 0%, 34.9%)
CIE-LABlab(28.93, 35.48, -61.73)
CIE-LCHlch(28.93, 71.20, 299.89°)
OKLaboklab(40.18% 0.0046 -0.1785)
OKLCHoklch(40.18% 0.179 271.5)
XYZxyz(9.1500, 5.8120, 36.7086)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35A6 #A69C2B
analogous
#2B72A6 #2B35A6 #5E2BA6
triadic
#2B35A6 #A62B35 #35A62B
tetradic
#2B35A6 #A62B72 #A69C2B #2BA65E
square
#2B35A6 #A62B72 #A69C2B #2BA65E
split-complementary
#2B35A6 #A65E2B #72A62B
monochromatic
#121645 #1E2575 #2B35A6 #414CCE #717ADA

Accessibility & contrast

On white

9.71
#2B35A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B35A6
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35A6#FFFFFF#000000##FFFFFF
##2B35A61.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b35a6;
/* rgb */ color: rgb(43, 53, 166);
/* oklch */ color: oklch(40.2% 0.179 271.5);
Tailwind
colors: {
  custom: {
    50: '#776cc1',
    500: '#2b35a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b35a6;
$custom-light: #776cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35a6",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 235.122,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40181,
    "c": 0.17858,
    "h": 271.5
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B35A6

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

Preview Lab → · Contrast checker → · Palette generator →

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