#2A3D77#2A3D77

#2A3D77 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.102 H 267.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2A3D77
RGBrgb(42, 61, 119)
HSLhsl(225, 48%, 32%)
HSVhsv(225, 65%, 47%)
CMYKcmyk(64.7%, 48.7%, 0%, 53.3%)
CIE-LABlab(27.19, 12.40, -35.57)
CIE-LCHlch(27.19, 37.67, 289.21°)
OKLaboklab(37.68% -0.0041 -0.1016)
OKLCHoklch(37.68% 0.102 267.7)
XYZxyz(5.9522, 5.1611, 18.1317)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D77 #77642A
analogous
#2A6477 #2A3D77 #3E2A77
triadic
#2A3D77 #772A3D #3D772A
tetradic
#2A3D77 #772A64 #77642A #2A773E
square
#2A3D77 #772A64 #77642A #2A773E
split-complementary
#2A3D77 #773E2A #64772A
monochromatic
#0A0F1D #1A264A #2A3D77 #3A54A4 #5872C4

Accessibility & contrast

On white

10.33
#2A3D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2A3D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D77
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D77#FFFFFF#000000##FFFFFF
##2A3D771.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214479
Deuteranopia (green-blind)
#133D76
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a3d77;
/* rgb */ color: rgb(42, 61, 119);
/* oklch */ color: oklch(37.7% 0.102 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c729f',
    500: '#2a3d77',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d77;
$custom-light: #6c729f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d77",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 119
  },
  "hsl": {
    "h": 225.195,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.10172,
    "h": 267.7
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#2A3D77
secondary
#A99454
accent
#B650D7
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2A3D77

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

Preview Lab → · Contrast checker → · Palette generator →

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