#2B3772#2B3772

#2B3772 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.102 H 271.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2B3772
RGBrgb(43, 55, 114)
HSLhsl(230, 45%, 31%)
HSVhsv(230, 62%, 45%)
CMYKcmyk(62.3%, 51.8%, 0%, 55.3%)
CIE-LABlab(25.14, 14.88, -35.68)
CIE-LCHlch(25.14, 38.66, 292.63°)
OKLaboklab(36.02% 0.0031 -0.102)
OKLCHoklch(36.02% 0.102 271.7)
XYZxyz(5.3987, 4.4604, 16.4928)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3772 #72662B
analogous
#2B5A72 #2B3772 #422B72
triadic
#2B3772 #722B37 #37722B
tetradic
#2B3772 #722B5A #72662B #2B7242
square
#2B3772 #722B5A #72662B #2B7242
split-complementary
#2B3772 #72422B #5A722B
monochromatic
#090C19 #1A2246 #2B3772 #3C4C9E #5869C0

Accessibility & contrast

On white

11.10
#2B3772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B3772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3772
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3772#FFFFFF#000000##FFFFFF
##2B37721.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F74
Deuteranopia (green-blind)
#0B3971
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3772;
/* rgb */ color: rgb(43, 55, 114);
/* oklch */ color: oklch(36.0% 0.102 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c6d9b',
    500: '#2b3772',
    950: '#000000',
  },
}
SCSS
$custom: #2b3772;
$custom-light: #6c6d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3772",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 229.859,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36023,
    "c": 0.10209,
    "h": 271.7
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#2B3772
secondary
#A49655
accent
#BF53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B3772

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

Preview Lab → · Contrast checker → · Palette generator →

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