#2A376C#2A376C

#2A376C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.093 H 270.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2A376C
RGBrgb(42, 55, 108)
HSLhsl(228, 44%, 29%)
HSVhsv(228, 61%, 42%)
CMYKcmyk(61.1%, 49.1%, 0%, 57.6%)
CIE-LABlab(24.66, 12.42, -32.61)
CIE-LCHlch(24.66, 34.90, 290.85°)
OKLaboklab(35.51% 0.0011 -0.093)
OKLCHoklch(35.51% 0.093 270.7)
XYZxyz(5.0269, 4.3069, 14.7509)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A376C #6C5F2A
analogous
#2A586C #2A376C #3E2A6C
triadic
#2A376C #6C2A37 #376C2A
tetradic
#2A376C #6C2A58 #6C5F2A #2A6C3E
square
#2A376C #6C2A58 #6C5F2A #2A6C3E
split-complementary
#2A376C #6C3E2A #586C2A
monochromatic
#090B16 #192140 #2A376C #3B4D98 #5469BC

Accessibility & contrast

On white

11.28
#2A376C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A376C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A376C
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A376C#FFFFFF#000000##FFFFFF
##2A376C1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6E
Deuteranopia (green-blind)
#14386B
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a376c;
/* rgb */ color: rgb(42, 55, 108);
/* oklch */ color: oklch(35.5% 0.093 270.7);
Tailwind
colors: {
  custom: {
    50: '#6a6d96',
    500: '#2a376c',
    950: '#000000',
  },
}
SCSS
$custom: #2a376c;
$custom-light: #6a6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#2a376c",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 108
  },
  "hsl": {
    "h": 228.182,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3551,
    "c": 0.09305,
    "h": 270.7
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#2A376C
secondary
#9E8F54
accent
#BB54D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2A376C

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

Preview Lab → · Contrast checker → · Palette generator →

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