#2B3373#2B3373

#2B3373 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.2% C 0.109 H 274.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2B3373
RGBrgb(43, 51, 115)
HSLhsl(233, 46%, 31%)
HSVhsv(233, 63%, 45%)
CMYKcmyk(62.6%, 55.7%, 0%, 54.9%)
CIE-LABlab(24.06, 18.03, -38.06)
CIE-LCHlch(24.06, 42.12, 295.35°)
OKLaboklab(35.23% 0.0077 -0.1091)
OKLCHoklch(35.23% 0.109 274)
XYZxyz(5.2736, 4.1186, 16.7334)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3373 #736B2B
analogous
#2B5773 #2B3373 #472B73
triadic
#2B3373 #732B33 #33732B
tetradic
#2B3373 #732B57 #736B2B #2B7347
square
#2B3373 #732B57 #736B2B #2B7347
split-complementary
#2B3373 #73472B #57732B
monochromatic
#0A0B1A #1A1F46 #2B3373 #3C47A0 #5864C1

Accessibility & contrast

On white

11.51
#2B3373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B3373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3373
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3373#FFFFFF#000000##FFFFFF
##2B33731.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3373;
/* rgb */ color: rgb(43, 51, 115);
/* oklch */ color: oklch(35.2% 0.109 274.0);
Tailwind
colors: {
  custom: {
    50: '#6c6a9c',
    500: '#2b3373',
    950: '#000000',
  },
}
SCSS
$custom: #2b3373;
$custom-light: #6c6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3373",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 233.333,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35232,
    "c": 0.10935,
    "h": 274
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#2B3373
secondary
#A59C55
accent
#C753D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3373

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

Preview Lab → · Contrast checker → · Palette generator →

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