#2A4666#2A4666

#2A4666 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.7% C 0.065 H 252.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2A4666
RGBrgb(42, 70, 102)
HSLhsl(212, 42%, 28%)
HSVhsv(212, 59%, 40%)
CMYKcmyk(58.8%, 31.4%, 0%, 60%)
CIE-LABlab(28.98, -0.00, -21.93)
CIE-LCHlch(28.98, 21.93, 269.99°)
OKLaboklab(38.74% -0.0192 -0.0617)
OKLCHoklch(38.74% 0.065 252.7)
XYZxyz(5.5424, 5.8314, 13.4013)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4666 #664A2A
analogous
#2A6466 #2A4666 #2C2A66
triadic
#2A4666 #662A46 #46662A
tetradic
#2A4666 #662A64 #664A2A #2A662C
square
#2A4666 #662A64 #664A2A #2A662C
split-complementary
#2A4666 #662C2A #64662A
monochromatic
#090F16 #18283B #2A4666 #3C6491 #5282B8

Accessibility & contrast

On white

9.69
#2A4666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A4666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4666
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4666#FFFFFF#000000##FFFFFF
##2A46661.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394867
Deuteranopia (green-blind)
#314265
Tritanopia (blue-blind)
#024D51
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4666;
/* rgb */ color: rgb(42, 70, 102);
/* oklch */ color: oklch(38.7% 0.065 252.7);
Tailwind
colors: {
  custom: {
    50: '#697992',
    500: '#2a4666',
    950: '#000000',
  },
}
SCSS
$custom: #2a4666;
$custom-light: #697992;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4666",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 102
  },
  "hsl": {
    "h": 212,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3874,
    "c": 0.06458,
    "h": 252.7
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#2A4666
secondary
#987854
accent
#9856D1
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06090D
muted
#7A7B7D

Preview Lab

Preview with #2A4666

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

Preview Lab → · Contrast checker → · Palette generator →

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