#2A207B#2A207B

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

Color values

HEX#2A207B
RGBrgb(42, 32, 123)
HSLhsl(247, 59%, 30%)
HSVhsv(247, 74%, 48%)
CMYKcmyk(65.9%, 74%, 0%, 51.8%)
CIE-LABlab(19.86, 33.33, -50.01)
CIE-LCHlch(19.86, 60.10, 303.69°)
OKLaboklab(32.35% 0.0237 -0.1443)
OKLCHoklch(32.35% 0.146 279.3)
XYZxyz(5.0454, 2.9549, 19.0395)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A207B #717B20
analogous
#20447B #2A207B #57207B
triadic
#2A207B #7B2A20 #207B2A
tetradic
#2A207B #7B2044 #717B20 #207B57
square
#2A207B #7B2044 #717B20 #207B57
split-complementary
#2A207B #7B5720 #447B20
monochromatic
#09071A #19134A #2A207B #3B2DAC #5546CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A207B#FFFFFF#000000##FFFFFF
##2A207B1.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)
#00337E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a207b;
/* rgb */ color: rgb(42, 32, 123);
/* oklch */ color: oklch(32.4% 0.146 279.3);
Tailwind
colors: {
  custom: {
    50: '#6f5da2',
    500: '#2a207b',
    950: '#000000',
  },
}
SCSS
$custom: #2a207b;
$custom-light: #6f5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a207b",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 246.593,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32351,
    "c": 0.14623,
    "h": 279.3
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#2A207B
secondary
#A3AE49
accent
#E246D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2A207B

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

Preview Lab → · Contrast checker → · Palette generator →

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