#2A206F#2A206F

#2A206F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.130 H 281.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2A206F
RGBrgb(42, 32, 111)
HSLhsl(248, 55%, 28%)
HSVhsv(248, 71%, 44%)
CMYKcmyk(62.2%, 71.2%, 0%, 56.5%)
CIE-LABlab(18.68, 29.22, -44.23)
CIE-LCHlch(18.68, 53.01, 303.44°)
OKLaboklab(31.15% 0.0259 -0.1274)
OKLCHoklch(31.15% 0.13 281.5)
XYZxyz(4.3397, 2.6727, 15.3230)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A206F #656F20
analogous
#203D6F #2A206F #51206F
triadic
#2A206F #6F2A20 #206F2A
tetradic
#2A206F #6F203D #656F20 #206F51
square
#2A206F #6F203D #656F20 #206F51
split-complementary
#2A206F #6F5120 #3D6F20
monochromatic
#090718 #18123F #2A206F #3C2E9F #5241C8

Accessibility & contrast

On white

13.68
#2A206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2A206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A206F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A206F#FFFFFF#000000##FFFFFF
##2A206F1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a206f;
/* rgb */ color: rgb(42, 32, 111);
/* oklch */ color: oklch(31.1% 0.130 281.5);
Tailwind
colors: {
  custom: {
    50: '#6c5c99',
    500: '#2a206f',
    950: '#000000',
  },
}
SCSS
$custom: #2a206f;
$custom-light: #6c5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a206f",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 247.595,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31145,
    "c": 0.12998,
    "h": 281.5
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#2A206F
secondary
#97A348
accent
#DF49CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #2A206F

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

Preview Lab → · Contrast checker → · Palette generator →

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