#2A377C#2A377C

#2A377C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.118 H 271.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2A377C
RGBrgb(42, 55, 124)
HSLhsl(230, 49%, 33%)
HSVhsv(230, 66%, 49%)
CMYKcmyk(66.1%, 55.6%, 0%, 51.4%)
CIE-LABlab(25.80, 18.44, -40.96)
CIE-LCHlch(25.80, 44.92, 294.24°)
OKLaboklab(36.74% 0.0029 -0.1176)
OKLCHoklch(36.74% 0.118 271.4)
XYZxyz(5.9579, 4.6793, 19.6541)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A377C #7C6F2A
analogous
#2A607C #2A377C #462A7C
triadic
#2A377C #7C2A37 #377C2A
tetradic
#2A377C #7C2A60 #7C6F2A #2A7C46
square
#2A377C #7C2A60 #7C6F2A #2A7C46
split-complementary
#2A377C #7C462A #607C2A
monochromatic
#0B0E21 #1B234E #2A377C #394BAA #596BC7

Accessibility & contrast

On white

10.85
#2A377C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A377C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A377C
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A377C#FFFFFF#000000##FFFFFF
##2A377C1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a377c;
/* rgb */ color: rgb(42, 55, 124);
/* oklch */ color: oklch(36.7% 0.118 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d6da2',
    500: '#2a377c',
    950: '#000000',
  },
}
SCSS
$custom: #2a377c;
$custom-light: #6d6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a377c",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 230.488,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36738,
    "c": 0.11763,
    "h": 271.4
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#2A377C
secondary
#AD9F55
accent
#C34FD9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2A377C

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

Preview Lab → · Contrast checker → · Palette generator →

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