#2B3385#2B3385

#2B3385 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.136 H 273.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2B3385
RGBrgb(43, 51, 133)
HSLhsl(235, 51%, 35%)
HSVhsv(235, 68%, 52%)
CMYKcmyk(67.7%, 61.7%, 0%, 47.8%)
CIE-LABlab(25.49, 24.73, -47.12)
CIE-LCHlch(25.49, 53.21, 297.69°)
OKLaboklab(36.74% 0.0081 -0.1357)
OKLCHoklch(36.74% 0.136 273.4)
XYZxyz(6.4123, 4.5741, 22.7307)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3385 #857D2B
analogous
#2B6085 #2B3385 #502B85
triadic
#2B3385 #852B33 #33852B
tetradic
#2B3385 #852B60 #857D2B #2B8550
square
#2B3385 #852B60 #857D2B #2B8550
split-complementary
#2B3385 #85502B #60852B
monochromatic
#0D1029 #1C2157 #2B3385 #3A45B3 #5F69CB

Accessibility & contrast

On white

10.97
#2B3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3385
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3385#FFFFFF#000000##FFFFFF
##2B33851.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3385;
/* rgb */ color: rgb(43, 51, 133);
/* oklch */ color: oklch(36.7% 0.136 273.4);
Tailwind
colors: {
  custom: {
    50: '#706aa9',
    500: '#2b3385',
    950: '#000000',
  },
}
SCSS
$custom: #2b3385;
$custom-light: #706aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3385",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 234.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36745,
    "c": 0.13596,
    "h": 273.4
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#2B3385
secondary
#B1AA5B
accent
#CE4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3385

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

Preview Lab → · Contrast checker → · Palette generator →

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