#2A367B#2A367B

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

Color values

HEX#2A367B
RGBrgb(42, 54, 123)
HSLhsl(231, 49%, 32%)
HSVhsv(231, 66%, 48%)
CMYKcmyk(65.9%, 56.1%, 0%, 51.8%)
CIE-LABlab(25.44, 18.76, -40.91)
CIE-LCHlch(25.44, 45.00, 294.63°)
OKLaboklab(36.45% 0.0038 -0.1174)
OKLCHoklch(36.45% 0.118 271.9)
XYZxyz(5.8480, 4.5601, 19.3071)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A367B #7B6F2A
analogous
#2A5F7B #2A367B #462A7B
triadic
#2A367B #7B2A36 #367B2A
tetradic
#2A367B #7B2A5F #7B6F2A #2A7B46
square
#2A367B #7B2A5F #7B6F2A #2A7B46
split-complementary
#2A367B #7B462A #5F7B2A
monochromatic
#0B0E20 #1A224D #2A367B #3A4AA9 #5969C6

Accessibility & contrast

On white

10.98
#2A367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A367B
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A367B#FFFFFF#000000##FFFFFF
##2A367B1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a367b;
/* rgb */ color: rgb(42, 54, 123);
/* oklch */ color: oklch(36.4% 0.118 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d6ca2',
    500: '#2a367b',
    950: '#000000',
  },
}
SCSS
$custom: #2a367b;
$custom-light: #6d6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a367b",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 231.111,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36445,
    "c": 0.11751,
    "h": 271.9
  },
  "luminance": 0.04561
}

Semantic roles & 50–950 ramp

primary
#2A367B
secondary
#AC9F55
accent
#C44FD9
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2A367B

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

Preview Lab → · Contrast checker → · Palette generator →

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