#2B327C#2B327C

#2B327C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.124 H 274.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2B327C
RGBrgb(43, 50, 124)
HSLhsl(235, 49%, 33%)
HSVhsv(235, 65%, 49%)
CMYKcmyk(65.3%, 59.7%, 0%, 51.4%)
CIE-LABlab(24.48, 22.07, -43.10)
CIE-LCHlch(24.48, 48.42, 297.12°)
OKLaboklab(35.77% 0.0091 -0.1239)
OKLCHoklch(35.77% 0.124 274.2)
XYZxyz(5.7738, 4.2496, 19.5809)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B327C #7C752B
analogous
#2B5A7C #2B327C #4D2B7C
triadic
#2B327C #7C2B32 #327C2B
tetradic
#2B327C #7C2B5A #7C752B #2B7C4D
square
#2B327C #7C2B5A #7C752B #2B7C4D
split-complementary
#2B327C #7C4D2B #5A7C2B
monochromatic
#0B0D21 #1B204F #2B327C #3B44A9 #5B64C6

Accessibility & contrast

On white

11.35
#2B327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B327C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B327C#FFFFFF#000000##FFFFFF
##2B327C1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b327c;
/* rgb */ color: rgb(43, 50, 124);
/* oklch */ color: oklch(35.8% 0.124 274.2);
Tailwind
colors: {
  custom: {
    50: '#6e69a3',
    500: '#2b327c',
    950: '#000000',
  },
}
SCSS
$custom: #2b327c;
$custom-light: #6e69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b327c",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 234.815,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35767,
    "c": 0.12424,
    "h": 274.2
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#2B327C
secondary
#ACA557
accent
#CC50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B327C

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

Preview Lab → · Contrast checker → · Palette generator →

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