#2A4E72#2A4E72

#2A4E72 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.074 H 250.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2A4E72
RGBrgb(42, 78, 114)
HSLhsl(210, 46%, 31%)
HSVhsv(210, 63%, 45%)
CMYKcmyk(63.2%, 31.6%, 0%, 55.3%)
CIE-LABlab(32.16, -0.87, -24.54)
CIE-LCHlch(32.16, 24.56, 267.96°)
OKLaboklab(41.43% -0.0252 -0.0692)
OKLCHoklch(41.43% 0.074 250)
XYZxyz(6.7154, 7.1553, 16.9435)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E72 #724E2A
analogous
#2A7272 #2A4E72 #2A2A72
triadic
#2A4E72 #722A4E #4E722A
tetradic
#2A4E72 #722A72 #724E2A #2A722A
square
#2A4E72 #722A72 #724E2A #2A722A
split-complementary
#2A4E72 #722A2A #72722A
monochromatic
#091119 #1A2F45 #2A4E72 #3A6D9F #568BC1

Accessibility & contrast

On white

8.64
#2A4E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A4E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E72
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E72#FFFFFF#000000##FFFFFF
##2A4E721.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#354871
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4e72;
/* rgb */ color: rgb(42, 78, 114);
/* oklch */ color: oklch(41.4% 0.074 250.0);
Tailwind
colors: {
  custom: {
    50: '#6b7f9a',
    500: '#2a4e72',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e72;
$custom-light: #6b7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e72",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 210,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.07362,
    "h": 250
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#2A4E72
secondary
#A47C54
accent
#9452D6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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