#2A4E70#2A4E70

#2A4E70 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.071 H 248.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2A4E70
RGBrgb(42, 78, 112)
HSLhsl(209, 45%, 30%)
HSVhsv(209, 63%, 44%)
CMYKcmyk(62.5%, 30.4%, 0%, 56.1%)
CIE-LABlab(32.06, -1.60, -23.45)
CIE-LCHlch(32.06, 23.50, 266.10°)
OKLaboklab(41.32% -0.0258 -0.066)
OKLCHoklch(41.32% 0.071 248.6)
XYZxyz(6.6028, 7.1103, 16.3506)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E70 #704C2A
analogous
#2A706F #2A4E70 #2A2B70
triadic
#2A4E70 #702A4E #4E702A
tetradic
#2A4E70 #6F2A70 #704C2A #2B702A
square
#2A4E70 #6F2A70 #704C2A #2B702A
split-complementary
#2A4E70 #702A2B #706F2A
monochromatic
#091017 #192F43 #2A4E70 #3B6D9D #558CBF

Accessibility & contrast

On white

8.67
#2A4E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A4E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E70
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E70#FFFFFF#000000##FFFFFF
##2A4E701.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F72
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4e70;
/* rgb */ color: rgb(42, 78, 112);
/* oklch */ color: oklch(41.3% 0.071 248.6);
Tailwind
colors: {
  custom: {
    50: '#6a7f99',
    500: '#2a4e70',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e70;
$custom-light: #6a7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e70",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 112
  },
  "hsl": {
    "h": 209.143,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.07088,
    "h": 248.6
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#2A4E70
secondary
#A27A54
accent
#9253D5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A4E70

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

Preview Lab → · Contrast checker → · Palette generator →

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