#2B207B#2B207B

#2B207B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.146 H 279.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#2B207B
RGBrgb(43, 32, 123)
HSLhsl(247, 59%, 30%)
HSVhsv(247, 74%, 48%)
CMYKcmyk(65%, 74%, 0%, 51.8%)
CIE-LABlab(19.95, 33.47, -49.86)
CIE-LCHlch(19.95, 60.06, 303.87°)
OKLaboklab(32.44% 0.0252 -0.1438)
OKLCHoklch(32.44% 0.146 279.9)
XYZxyz(5.0868, 2.9763, 19.0415)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B207B #707B20
analogous
#20427B #2B207B #58207B
triadic
#2B207B #7B2B20 #207B2B
tetradic
#2B207B #7B2042 #707B20 #207B58
square
#2B207B #7B2042 #707B20 #207B58
split-complementary
#2B207B #7B5820 #427B20
monochromatic
#09071A #1A134A #2B207B #3C2DAC #5746CF

Accessibility & contrast

On white

13.16
#2B207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B207B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B207B#FFFFFF#000000##FFFFFF
##2B207B1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b207b;
/* rgb */ color: rgb(43, 32, 123);
/* oklch */ color: oklch(32.4% 0.146 279.9);
Tailwind
colors: {
  custom: {
    50: '#6f5da2',
    500: '#2b207b',
    950: '#000000',
  },
}
SCSS
$custom: #2b207b;
$custom-light: #6f5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b207b",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 247.253,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32435,
    "c": 0.14601,
    "h": 279.9
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#2B207B
secondary
#A2AE49
accent
#E246CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2B207B

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

Preview Lab → · Contrast checker → · Palette generator →

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