#2A376F#2A376F

#2A376F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.098 H 270.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2A376F
RGBrgb(42, 55, 111)
HSLhsl(229, 45%, 30%)
HSVhsv(229, 62%, 44%)
CMYKcmyk(62.2%, 50.5%, 0%, 56.5%)
CIE-LABlab(24.86, 13.54, -34.21)
CIE-LCHlch(24.86, 36.79, 291.59°)
OKLaboklab(35.73% 0.0015 -0.0977)
OKLCHoklch(35.73% 0.098 270.9)
XYZxyz(5.1893, 4.3719, 15.6062)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A376F #6F622A
analogous
#2A596F #2A376F #402A6F
triadic
#2A376F #6F2A37 #376F2A
tetradic
#2A376F #6F2A59 #6F622A #2A6F40
square
#2A376F #6F2A59 #6F622A #2A6F40
split-complementary
#2A376F #6F402A #596F2A
monochromatic
#080B16 #192143 #2A376F #3B4D9B #5569BF

Accessibility & contrast

On white

11.20
#2A376F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2A376F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A376F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A376F#FFFFFF#000000##FFFFFF
##2A376F1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E71
Deuteranopia (green-blind)
#10386E
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a376f;
/* rgb */ color: rgb(42, 55, 111);
/* oklch */ color: oklch(35.7% 0.098 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a6d99',
    500: '#2a376f',
    950: '#000000',
  },
}
SCSS
$custom: #2a376f;
$custom-light: #6a6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a376f",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 111
  },
  "hsl": {
    "h": 228.696,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.35731,
    "c": 0.09774,
    "h": 270.9
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#2A376F
secondary
#A19254
accent
#BC53D5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2A376F

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

Preview Lab → · Contrast checker → · Palette generator →

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