#2B207A#2B207A

#2B207A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.145 H 280.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#2B207A
RGBrgb(43, 32, 122)
HSLhsl(247, 58%, 30%)
HSVhsv(247, 74%, 48%)
CMYKcmyk(64.8%, 73.8%, 0%, 52.2%)
CIE-LABlab(19.85, 33.13, -49.39)
CIE-LCHlch(19.85, 59.48, 303.86°)
OKLaboklab(32.33% 0.0254 -0.1424)
OKLCHoklch(32.33% 0.145 280.1)
XYZxyz(5.0245, 2.9514, 18.7135)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B207A #6F7A20
analogous
#20427A #2B207A #58207A
triadic
#2B207A #7A2B20 #207A2B
tetradic
#2B207A #7A2042 #6F7A20 #207A58
square
#2B207A #7A2042 #6F7A20 #207A58
split-complementary
#2B207A #7A5820 #427A20
monochromatic
#090719 #1A134A #2B207A #3C2DAA #5746CE

Accessibility & contrast

On white

13.20
#2B207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2B207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B207A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B207A#FFFFFF#000000##FFFFFF
##2B207A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b207a;
/* rgb */ color: rgb(43, 32, 122);
/* oklch */ color: oklch(32.3% 0.145 280.1);
Tailwind
colors: {
  custom: {
    50: '#6f5da1',
    500: '#2b207a',
    950: '#000000',
  },
}
SCSS
$custom: #2b207a;
$custom-light: #6f5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b207a",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 247.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32332,
    "c": 0.14469,
    "h": 280.1
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#2B207A
secondary
#A1AD49
accent
#E246CF
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2B207A

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

Preview Lab → · Contrast checker → · Palette generator →

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