#2B3585#2B3585

#2B3585 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.133 H 272.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2B3585
RGBrgb(43, 53, 133)
HSLhsl(233, 51%, 35%)
HSVhsv(233, 68%, 52%)
CMYKcmyk(67.7%, 60.2%, 0%, 47.8%)
CIE-LABlab(26.02, 23.37, -46.25)
CIE-LCHlch(26.02, 51.82, 296.81°)
OKLaboklab(37.14% 0.0063 -0.1331)
OKLCHoklch(37.14% 0.133 272.7)
XYZxyz(6.5016, 4.7527, 22.7605)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3585 #857B2B
analogous
#2B6285 #2B3585 #4E2B85
triadic
#2B3585 #852B35 #35852B
tetradic
#2B3585 #852B62 #857B2B #2B854E
square
#2B3585 #852B62 #857B2B #2B854E
split-complementary
#2B3585 #854E2B #62852B
monochromatic
#0D1029 #1C2357 #2B3585 #3A47B3 #5F6BCB

Accessibility & contrast

On white

10.77
#2B3585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B3585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3585
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3585#FFFFFF#000000##FFFFFF
##2B35851.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3585;
/* rgb */ color: rgb(43, 53, 133);
/* oklch */ color: oklch(37.1% 0.133 272.7);
Tailwind
colors: {
  custom: {
    50: '#706ca9',
    500: '#2b3585',
    950: '#000000',
  },
}
SCSS
$custom: #2b3585;
$custom-light: #706ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3585",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 233.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3714,
    "c": 0.1333,
    "h": 272.7
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#2B3585
secondary
#B1A85B
accent
#CB4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3585

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

Preview Lab → · Contrast checker → · Palette generator →

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