#2B327E#2B327E

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

Color values

HEX#2B327E
RGBrgb(43, 50, 126)
HSLhsl(235, 49%, 33%)
HSVhsv(235, 66%, 49%)
CMYKcmyk(65.9%, 60.3%, 0%, 50.6%)
CIE-LABlab(24.64, 22.81, -44.10)
CIE-LCHlch(24.64, 49.65, 297.35°)
OKLaboklab(35.94% 0.0091 -0.1268)
OKLCHoklch(35.94% 0.127 274.1)
XYZxyz(5.9015, 4.3007, 20.2537)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B327E #7E772B
analogous
#2B5B7E #2B327E #4D2B7E
triadic
#2B327E #7E2B32 #327E2B
tetradic
#2B327E #7E2B5B #7E772B #2B7E4D
square
#2B327E #7E2B5B #7E772B #2B7E4D
split-complementary
#2B327E #7E4D2B #5B7E2B
monochromatic
#0C0E23 #1B2050 #2B327E #3B44AC #5C65C7

Accessibility & contrast

On white

11.29
#2B327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B327E
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B327E#FFFFFF#000000##FFFFFF
##2B327E1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b327e;
/* rgb */ color: rgb(43, 50, 126);
/* oklch */ color: oklch(35.9% 0.127 274.1);
Tailwind
colors: {
  custom: {
    50: '#6e69a4',
    500: '#2b327e',
    950: '#000000',
  },
}
SCSS
$custom: #2b327e;
$custom-light: #6e69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b327e",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 234.94,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35938,
    "c": 0.12717,
    "h": 274.1
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

primary
#2B327E
secondary
#ADA658
accent
#CD4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B327E

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

Preview Lab → · Contrast checker → · Palette generator →

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