#2B3289#2B3289

#2B3289 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.143 H 273.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2B3289
RGBrgb(43, 50, 137)
HSLhsl(236, 52%, 35%)
HSVhsv(236, 69%, 54%)
CMYKcmyk(68.6%, 63.5%, 0%, 46.3%)
CIE-LABlab(25.56, 26.88, -49.48)
CIE-LCHlch(25.56, 56.31, 298.51°)
OKLaboklab(36.91% 0.0089 -0.1427)
OKLCHoklch(36.91% 0.143 273.5)
XYZxyz(6.6507, 4.6003, 24.1995)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3289 #89822B
analogous
#2B6189 #2B3289 #532B89
triadic
#2B3289 #892B32 #32892B
tetradic
#2B3289 #892B61 #89822B #2B8953
square
#2B3289 #892B61 #89822B #2B8953
split-complementary
#2B3289 #89532B #61892B
monochromatic
#0E102C #1C215A #2B3289 #3A43B8 #6169CD

Accessibility & contrast

On white

10.94
#2B3289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3289
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3289#FFFFFF#000000##FFFFFF
##2B32891.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b3289;
/* rgb */ color: rgb(43, 50, 137);
/* oklch */ color: oklch(36.9% 0.143 273.5);
Tailwind
colors: {
  custom: {
    50: '#716aac',
    500: '#2b3289',
    950: '#000000',
  },
}
SCSS
$custom: #2b3289;
$custom-light: #716aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3289",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 235.532,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36909,
    "c": 0.14295,
    "h": 273.5
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#2B3289
secondary
#B3AD5C
accent
#D14CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B3289

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

Preview Lab → · Contrast checker → · Palette generator →

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