#2B327A#2B327A

#2B327A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.121 H 274.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2B327A
RGBrgb(43, 50, 122)
HSLhsl(235, 48%, 32%)
HSVhsv(235, 65%, 48%)
CMYKcmyk(64.8%, 59%, 0%, 52.2%)
CIE-LABlab(24.32, 21.33, -42.09)
CIE-LCHlch(24.32, 47.18, 296.87°)
OKLaboklab(35.6% 0.009 -0.1209)
OKLCHoklch(35.6% 0.121 274.3)
XYZxyz(5.6486, 4.1995, 18.9215)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B327A #7A732B
analogous
#2B597A #2B327A #4C2B7A
triadic
#2B327A #7A2B32 #327A2B
tetradic
#2B327A #7A2B59 #7A732B #2B7A4C
square
#2B327A #7A2B59 #7A732B #2B7A4C
split-complementary
#2B327A #7A4C2B #597A2B
monochromatic
#0B0D1F #1B1F4D #2B327A #3B45A7 #5A64C5

Accessibility & contrast

On white

11.41
#2B327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B327A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B327A#FFFFFF#000000##FFFFFF
##2B327A1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b327a;
/* rgb */ color: rgb(43, 50, 122);
/* oklch */ color: oklch(35.6% 0.121 274.3);
Tailwind
colors: {
  custom: {
    50: '#6e69a1',
    500: '#2b327a',
    950: '#000000',
  },
}
SCSS
$custom: #2b327a;
$custom-light: #6e69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b327a",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 234.684,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35598,
    "c": 0.12129,
    "h": 274.3
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#2B327A
secondary
#ABA356
accent
#CB50D7
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2B327A

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

Preview Lab → · Contrast checker → · Palette generator →

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