#2A4B71#2A4B71

#2A4B71 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.6% C 0.075 H 253.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2A4B71
RGBrgb(42, 75, 113)
HSLhsl(212, 46%, 30%)
HSVhsv(212, 63%, 44%)
CMYKcmyk(62.8%, 33.6%, 0%, 55.7%)
CIE-LABlab(31.15, 0.71, -25.50)
CIE-LCHlch(31.15, 25.51, 271.59°)
OKLaboklab(40.63% -0.0219 -0.072)
OKLCHoklch(40.63% 0.075 253.1)
XYZxyz(6.4505, 6.7161, 16.5760)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B71 #71502A
analogous
#2A6E71 #2A4B71 #2D2A71
triadic
#2A4B71 #712A4B #4B712A
tetradic
#2A4B71 #712A6E #71502A #2A712D
square
#2A4B71 #712A6E #71502A #2A712D
split-complementary
#2A4B71 #712D2A #6E712A
monochromatic
#091018 #192D44 #2A4B71 #3B699E #5587C0

Accessibility & contrast

On white

8.96
#2A4B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A4B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B71
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B71#FFFFFF#000000##FFFFFF
##2A4B711.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#324670
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4b71;
/* rgb */ color: rgb(42, 75, 113);
/* oklch */ color: oklch(40.6% 0.075 253.1);
Tailwind
colors: {
  custom: {
    50: '#6a7d9a',
    500: '#2a4b71',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b71;
$custom-light: #6a7d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b71",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 113
  },
  "hsl": {
    "h": 212.113,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40627,
    "c": 0.07523,
    "h": 253.1
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#2A4B71
secondary
#A37E54
accent
#9952D5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2A4B71

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

Preview Lab → · Contrast checker → · Palette generator →

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