#2B207C#2B207C

#2B207C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.147 H 279.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#2B207C
RGBrgb(43, 32, 124)
HSLhsl(247, 59%, 31%)
HSVhsv(247, 74%, 49%)
CMYKcmyk(65.3%, 74.2%, 0%, 51.4%)
CIE-LABlab(20.05, 33.81, -50.33)
CIE-LCHlch(20.05, 60.64, 303.89°)
OKLaboklab(32.54% 0.025 -0.1452)
OKLCHoklch(32.54% 0.147 279.8)
XYZxyz(5.1497, 3.0015, 19.3728)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B207C #717C20
analogous
#20437C #2B207C #59207C
triadic
#2B207C #7C2B20 #207C2B
tetradic
#2B207C #7C2043 #717C20 #207C59
square
#2B207C #7C2043 #717C20 #207C59
split-complementary
#2B207C #7C5920 #437C20
monochromatic
#09071B #1A134B #2B207C #3C2DAD #5747CF

Accessibility & contrast

On white

13.12
#2B207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B207C
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B207C#FFFFFF#000000##FFFFFF
##2B207C1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b207c;
/* rgb */ color: rgb(43, 32, 124);
/* oklch */ color: oklch(32.5% 0.147 279.8);
Tailwind
colors: {
  custom: {
    50: '#705da3',
    500: '#2b207c',
    950: '#000000',
  },
}
SCSS
$custom: #2b207c;
$custom-light: #705da3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b207c",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 247.174,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32537,
    "c": 0.14734,
    "h": 279.8
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B207C

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

Preview Lab → · Contrast checker → · Palette generator →

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