#2B207E#2B207E

#2B207E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.150 H 279.4°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#2B207E
RGBrgb(43, 32, 126)
HSLhsl(247, 59%, 31%)
HSVhsv(247, 75%, 49%)
CMYKcmyk(65.9%, 74.6%, 0%, 50.6%)
CIE-LABlab(20.25, 34.49, -51.27)
CIE-LCHlch(20.25, 61.79, 303.93°)
OKLaboklab(32.74% 0.0245 -0.1479)
OKLCHoklch(32.74% 0.15 279.4)
XYZxyz(5.2775, 3.0526, 20.0457)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B207E #737E20
analogous
#20447E #2B207E #5A207E
triadic
#2B207E #7E2B20 #207E2B
tetradic
#2B207E #7E2044 #737E20 #207E5A
square
#2B207E #7E2044 #737E20 #207E5A
split-complementary
#2B207E #7E5A20 #447E20
monochromatic
#0A071C #1A144D #2B207E #3C2CAF #5848D0

Accessibility & contrast

On white

13.04
#2B207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2B207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B207E
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B207E#FFFFFF#000000##FFFFFF
##2B207E1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b207e;
/* rgb */ color: rgb(43, 32, 126);
/* oklch */ color: oklch(32.7% 0.150 279.4);
Tailwind
colors: {
  custom: {
    50: '#705da4',
    500: '#2b207e',
    950: '#000000',
  },
}
SCSS
$custom: #2b207e;
$custom-light: #705da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b207e",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 247.021,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32744,
    "c": 0.14997,
    "h": 279.4
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#2B207E
secondary
#A5B149
accent
#E345D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2B207E

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

Preview Lab → · Contrast checker → · Palette generator →

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