#2B327D#2B327D

#2B327D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.126 H 274.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2B327D
RGBrgb(43, 50, 125)
HSLhsl(235, 49%, 33%)
HSVhsv(235, 66%, 49%)
CMYKcmyk(65.6%, 60%, 0%, 51%)
CIE-LABlab(24.56, 22.44, -43.60)
CIE-LCHlch(24.56, 49.03, 297.24°)
OKLaboklab(35.85% 0.0091 -0.1254)
OKLCHoklch(35.85% 0.126 274.1)
XYZxyz(5.8373, 4.2750, 19.9156)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B327D #7D762B
analogous
#2B5B7D #2B327D #4D2B7D
triadic
#2B327D #7D2B32 #327D2B
tetradic
#2B327D #7D2B5B #7D762B #2B7D4D
square
#2B327D #7D2B5B #7D762B #2B7D4D
split-complementary
#2B327D #7D4D2B #5B7D2B
monochromatic
#0C0E22 #1B204F #2B327D #3B44AB #5C65C7

Accessibility & contrast

On white

11.32
#2B327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B327D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B327D#FFFFFF#000000##FFFFFF
##2B327D1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b327d;
/* rgb */ color: rgb(43, 50, 125);
/* oklch */ color: oklch(35.9% 0.126 274.1);
Tailwind
colors: {
  custom: {
    50: '#6e69a3',
    500: '#2b327d',
    950: '#000000',
  },
}
SCSS
$custom: #2b327d;
$custom-light: #6e69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b327d",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 234.878,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35852,
    "c": 0.12571,
    "h": 274.1
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#2B327D
secondary
#ADA557
accent
#CD4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B327D

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

Preview Lab → · Contrast checker → · Palette generator →

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