#2A367D#2A367D

#2A367D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.120 H 271.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2A367D
RGBrgb(42, 54, 125)
HSLhsl(231, 50%, 33%)
HSVhsv(231, 66%, 49%)
CMYKcmyk(66.4%, 56.8%, 0%, 51%)
CIE-LABlab(25.60, 19.51, -41.92)
CIE-LCHlch(25.60, 46.24, 294.96°)
OKLaboklab(36.61% 0.004 -0.1204)
OKLCHoklch(36.61% 0.12 271.9)
XYZxyz(5.9744, 4.6107, 19.9732)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A367D #7D712A
analogous
#2A607D #2A367D #472A7D
triadic
#2A367D #7D2A36 #367D2A
tetradic
#2A367D #7D2A60 #7D712A #2A7D47
square
#2A367D #7D2A60 #7D712A #2A7D47
split-complementary
#2A367D #7D472A #607D2A
monochromatic
#0B0E21 #1B224F #2A367D #394AAB #5A6AC8

Accessibility & contrast

On white

10.92
#2A367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2A367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A367D
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A367D#FFFFFF#000000##FFFFFF
##2A367D1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a367d;
/* rgb */ color: rgb(42, 54, 125);
/* oklch */ color: oklch(36.6% 0.120 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d6ca3',
    500: '#2a367d',
    950: '#000000',
  },
}
SCSS
$custom: #2a367d;
$custom-light: #6d6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a367d",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 231.325,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36608,
    "c": 0.12049,
    "h": 271.9
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#2A367D
secondary
#ADA056
accent
#C54FD9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2A367D

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

Preview Lab → · Contrast checker → · Palette generator →

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