#2A367A#2A367A

#2A367A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.4% C 0.116 H 271.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2A367A
RGBrgb(42, 54, 122)
HSLhsl(231, 49%, 32%)
HSVhsv(231, 66%, 48%)
CMYKcmyk(65.6%, 55.7%, 0%, 52.2%)
CIE-LABlab(25.37, 18.38, -40.40)
CIE-LCHlch(25.37, 44.38, 294.46°)
OKLaboklab(36.36% 0.0038 -0.1159)
OKLCHoklch(36.36% 0.116 271.9)
XYZxyz(5.7857, 4.5352, 18.9791)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A367A #7A6E2A
analogous
#2A5E7A #2A367A #462A7A
triadic
#2A367A #7A2A36 #367A2A
tetradic
#2A367A #7A2A5E #7A6E2A #2A7A46
square
#2A367A #7A2A5E #7A6E2A #2A7A46
split-complementary
#2A367A #7A462A #5E7A2A
monochromatic
#0B0E1F #1A224C #2A367A #3A4AA8 #5969C6

Accessibility & contrast

On white

11.01
#2A367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A367A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A367A#FFFFFF#000000##FFFFFF
##2A367A1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a367a;
/* rgb */ color: rgb(42, 54, 122);
/* oklch */ color: oklch(36.4% 0.116 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d6ca1',
    500: '#2a367a',
    950: '#000000',
  },
}
SCSS
$custom: #2a367a;
$custom-light: #6d6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a367a",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 231,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36364,
    "c": 0.11601,
    "h": 271.9
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#2A367A
secondary
#AB9E55
accent
#C44FD8
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2A367A

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

Preview Lab → · Contrast checker → · Palette generator →

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