#2A4F72#2A4F72

#2A4F72 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.073 H 248.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2A4F72
RGBrgb(42, 79, 114)
HSLhsl(209, 46%, 31%)
HSVhsv(209, 63%, 45%)
CMYKcmyk(63.2%, 30.7%, 0%, 55.3%)
CIE-LABlab(32.48, -1.52, -24.04)
CIE-LCHlch(32.48, 24.09, 266.39°)
OKLaboklab(41.69% -0.0264 -0.0677)
OKLCHoklch(41.69% 0.073 248.7)
XYZxyz(6.7870, 7.2985, 16.9674)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4F72 #724D2A
analogous
#2A7271 #2A4F72 #2A2B72
triadic
#2A4F72 #722A4F #4F722A
tetradic
#2A4F72 #712A72 #724D2A #2B722A
square
#2A4F72 #712A72 #724D2A #2B722A
split-complementary
#2A4F72 #722A2B #72712A
monochromatic
#091119 #1A3045 #2A4F72 #3A6E9F #568DC1

Accessibility & contrast

On white

8.54
#2A4F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2A4F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4F72
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4F72#FFFFFF#000000##FFFFFF
##2A4F721.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405074
Deuteranopia (green-blind)
#364971
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4f72;
/* rgb */ color: rgb(42, 79, 114);
/* oklch */ color: oklch(41.7% 0.073 248.7);
Tailwind
colors: {
  custom: {
    50: '#6b809a',
    500: '#2a4f72',
    950: '#000000',
  },
}
SCSS
$custom: #2a4f72;
$custom-light: #6b809a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4f72",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 114
  },
  "hsl": {
    "h": 209.167,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.07268,
    "h": 248.7
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#2A4F72
secondary
#A47B54
accent
#9252D6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A4F72

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

Preview Lab → · Contrast checker → · Palette generator →

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