#2B3288#2B3288

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

Color values

HEX#2B3288
RGBrgb(43, 50, 136)
HSLhsl(235, 52%, 35%)
HSVhsv(235, 68%, 53%)
CMYKcmyk(68.4%, 63.2%, 0%, 46.7%)
CIE-LABlab(25.48, 26.51, -49.00)
CIE-LCHlch(25.48, 55.71, 298.42°)
OKLaboklab(36.82% 0.0089 -0.1413)
OKLCHoklch(36.82% 0.142 273.6)
XYZxyz(6.5793, 4.5718, 23.8235)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3288 #88812B
analogous
#2B6088 #2B3288 #532B88
triadic
#2B3288 #882B32 #32882B
tetradic
#2B3288 #882B60 #88812B #2B8853
square
#2B3288 #882B60 #88812B #2B8853
split-complementary
#2B3288 #88532B #60882B
monochromatic
#0E102B #1C215A #2B3288 #3A43B6 #6169CD

Accessibility & contrast

On white

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

On black

1.91
#2B3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B3288#FFFFFF#000000##FFFFFF
##2B32881.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3288;
/* rgb */ color: rgb(43, 50, 136);
/* oklch */ color: oklch(36.8% 0.142 273.6);
Tailwind
colors: {
  custom: {
    50: '#716aab',
    500: '#2b3288',
    950: '#000000',
  },
}
SCSS
$custom: #2b3288;
$custom-light: #716aab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3288",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 235.484,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36819,
    "c": 0.14154,
    "h": 273.6
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#2B3288
secondary
#B3AC5C
accent
#D14CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3288

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

Preview Lab → · Contrast checker → · Palette generator →

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