#2B207D#2B207D

#2B207D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.149 H 279.6°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2B207D
RGBrgb(43, 32, 125)
HSLhsl(247, 59%, 31%)
HSVhsv(247, 74%, 49%)
CMYKcmyk(65.6%, 74.4%, 0%, 51%)
CIE-LABlab(20.15, 34.15, -50.80)
CIE-LCHlch(20.15, 61.21, 303.91°)
OKLaboklab(32.64% 0.0248 -0.1466)
OKLCHoklch(32.64% 0.149 279.6)
XYZxyz(5.2133, 3.0269, 19.7076)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B207D #727D20
analogous
#20437D #2B207D #59207D
triadic
#2B207D #7D2B20 #207D2B
tetradic
#2B207D #7D2043 #727D20 #207D59
square
#2B207D #7D2043 #727D20 #207D59
split-complementary
#2B207D #7D5920 #437D20
monochromatic
#09071C #1A144C #2B207D #3C2CAE #5847D0

Accessibility & contrast

On white

13.08
#2B207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B207D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B207D#FFFFFF#000000##FFFFFF
##2B207D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b207d;
/* rgb */ color: rgb(43, 32, 125);
/* oklch */ color: oklch(32.6% 0.149 279.6);
Tailwind
colors: {
  custom: {
    50: '#705da4',
    500: '#2b207d',
    950: '#000000',
  },
}
SCSS
$custom: #2b207d;
$custom-light: #705da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b207d",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 247.097,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3264,
    "c": 0.14865,
    "h": 279.6
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#2B207D
secondary
#A4B049
accent
#E245D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2B207D

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

Preview Lab → · Contrast checker → · Palette generator →

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