#2B327B#2B327B

#2B327B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.123 H 274.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2B327B
RGBrgb(43, 50, 123)
HSLhsl(235, 48%, 33%)
HSVhsv(235, 65%, 48%)
CMYKcmyk(65%, 59.3%, 0%, 51.8%)
CIE-LABlab(24.40, 21.70, -42.59)
CIE-LCHlch(24.40, 47.80, 296.99°)
OKLaboklab(35.68% 0.0091 -0.1224)
OKLCHoklch(35.68% 0.123 274.2)
XYZxyz(5.7108, 4.2244, 19.2495)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B327B #7B742B
analogous
#2B5A7B #2B327B #4C2B7B
triadic
#2B327B #7B2B32 #327B2B
tetradic
#2B327B #7B2B5A #7B742B #2B7B4C
square
#2B327B #7B2B5A #7B742B #2B7B4C
split-complementary
#2B327B #7B4C2B #5A7B2B
monochromatic
#0B0D20 #1B204E #2B327B #3B44A8 #5B64C6

Accessibility & contrast

On white

11.38
#2B327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B327B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B327B#FFFFFF#000000##FFFFFF
##2B327B1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b327b;
/* rgb */ color: rgb(43, 50, 123);
/* oklch */ color: oklch(35.7% 0.123 274.2);
Tailwind
colors: {
  custom: {
    50: '#6e69a2',
    500: '#2b327b',
    950: '#000000',
  },
}
SCSS
$custom: #2b327b;
$custom-light: #6e69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b327b",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 234.75,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35682,
    "c": 0.12276,
    "h": 274.2
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#2B327B
secondary
#ABA456
accent
#CC50D8
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2B327B

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

Preview Lab → · Contrast checker → · Palette generator →

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