#2A4F74#2A4F74

#2A4F74 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.075 H 250.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2A4F74
RGBrgb(42, 79, 116)
HSLhsl(210, 47%, 31%)
HSVhsv(210, 64%, 45%)
CMYKcmyk(63.8%, 31.9%, 0%, 54.5%)
CIE-LABlab(32.58, -0.79, -25.14)
CIE-LCHlch(32.58, 25.15, 268.20°)
OKLaboklab(41.8% -0.0257 -0.0709)
OKLCHoklch(41.8% 0.075 250.1)
XYZxyz(6.9021, 7.3445, 17.5735)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4F74 #744F2A
analogous
#2A7474 #2A4F74 #2A2A74
triadic
#2A4F74 #742A4F #4F742A
tetradic
#2A4F74 #742A74 #744F2A #2A742A
square
#2A4F74 #742A74 #744F2A #2A742A
split-complementary
#2A4F74 #742A2A #74742A
monochromatic
#09121A #1A3047 #2A4F74 #3A6EA1 #568CC2

Accessibility & contrast

On white

8.51
#2A4F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A4F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4F74
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4F74#FFFFFF#000000##FFFFFF
##2A4F741.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5176
Deuteranopia (green-blind)
#354973
Tritanopia (blue-blind)
#00585C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4f74;
/* rgb */ color: rgb(42, 79, 116);
/* oklch */ color: oklch(41.8% 0.075 250.1);
Tailwind
colors: {
  custom: {
    50: '#6b809c',
    500: '#2a4f74',
    950: '#000000',
  },
}
SCSS
$custom: #2a4f74;
$custom-light: #6b809c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4f74",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 116
  },
  "hsl": {
    "h": 210,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41798,
    "c": 0.07541,
    "h": 250.1
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#2A4F74
secondary
#A67D54
accent
#9451D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A4F74

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

Preview Lab → · Contrast checker → · Palette generator →

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