#2A209F#2A209F

#2A209F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.192 H 274.6°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2A209F
RGBrgb(42, 32, 159)
HSLhsl(245, 66%, 37%)
HSVhsv(245, 80%, 62%)
CMYKcmyk(73.6%, 79.9%, 0%, 37.6%)
CIE-LABlab(23.76, 45.21, -66.01)
CIE-LCHlch(23.76, 80.01, 304.41°)
OKLaboklab(36.26% 0.0154 -0.1909)
OKLCHoklch(36.26% 0.192 274.6)
XYZxyz(7.7273, 4.0277, 33.1644)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A209F #959F20
analogous
#20569F #2A209F #69209F
triadic
#2A209F #9F2A20 #209F2A
tetradic
#2A209F #9F2056 #959F20 #209F69
square
#2A209F #9F2056 #959F20 #209F69
split-complementary
#2A209F #9F6920 #569F20
monochromatic
#0F0B39 #1D166C #2A209F #372AD2 #665BDE

Accessibility & contrast

On white

11.63
#2A209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2A209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A209F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A209F#FFFFFF#000000##FFFFFF
##2A209F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a209f;
/* rgb */ color: rgb(42, 32, 159);
/* oklch */ color: oklch(36.3% 0.192 274.6);
Tailwind
colors: {
  custom: {
    50: '#775fbd',
    500: '#2a209f',
    950: '#000000',
  },
}
SCSS
$custom: #2a209f;
$custom-light: #775fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a209f",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 244.724,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36262,
    "c": 0.19153,
    "h": 274.6
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#2A209F
secondary
#BAC259
accent
#E93EDC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A209F

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

Preview Lab → · Contrast checker → · Palette generator →

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