#2A367C#2A367C

#2A367C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.119 H 271.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2A367C
RGBrgb(42, 54, 124)
HSLhsl(231, 49%, 33%)
HSVhsv(231, 66%, 49%)
CMYKcmyk(66.1%, 56.5%, 0%, 51.4%)
CIE-LABlab(25.52, 19.13, -41.42)
CIE-LCHlch(25.52, 45.62, 294.80°)
OKLaboklab(36.53% 0.0039 -0.1189)
OKLCHoklch(36.53% 0.119 271.9)
XYZxyz(5.9109, 4.5853, 19.6384)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A367C #7C702A
analogous
#2A5F7C #2A367C #472A7C
triadic
#2A367C #7C2A36 #367C2A
tetradic
#2A367C #7C2A5F #7C702A #2A7C47
square
#2A367C #7C2A5F #7C702A #2A7C47
split-complementary
#2A367C #7C472A #5F7C2A
monochromatic
#0B0E21 #1B224E #2A367C #394AAA #5969C7

Accessibility & contrast

On white

10.95
#2A367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A367C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A367C#FFFFFF#000000##FFFFFF
##2A367C1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a367c;
/* rgb */ color: rgb(42, 54, 124);
/* oklch */ color: oklch(36.5% 0.119 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d6ca2',
    500: '#2a367c',
    950: '#000000',
  },
}
SCSS
$custom: #2a367c;
$custom-light: #6d6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a367c",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 231.22,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36526,
    "c": 0.119,
    "h": 271.9
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A367C

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

Preview Lab → · Contrast checker → · Palette generator →

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