#2A4564#2A4564

#2A4564 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.4% C 0.063 H 252.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2A4564
RGBrgb(42, 69, 100)
HSLhsl(212, 41%, 28%)
HSVhsv(212, 58%, 39%)
CMYKcmyk(58%, 31%, 0%, 60.8%)
CIE-LABlab(28.56, -0.06, -21.31)
CIE-LCHlch(28.56, 21.31, 269.84°)
OKLaboklab(38.37% -0.0185 -0.0599)
OKLCHoklch(38.37% 0.063 252.8)
XYZxyz(5.3824, 5.6682, 12.8645)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4564 #64492A
analogous
#2A6264 #2A4564 #2C2A64
triadic
#2A4564 #642A45 #45642A
tetradic
#2A4564 #642A62 #64492A #2A642C
square
#2A4564 #642A62 #64492A #2A642C
split-complementary
#2A4564 #642C2A #62642A
monochromatic
#090F16 #182739 #2A4564 #3C638F #5281B6

Accessibility & contrast

On white

9.84
#2A4564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2A4564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4564
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4564#FFFFFF#000000##FFFFFF
##2A45641.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384665
Deuteranopia (green-blind)
#314163
Tritanopia (blue-blind)
#064C50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a4564;
/* rgb */ color: rgb(42, 69, 100);
/* oklch */ color: oklch(38.4% 0.063 252.8);
Tailwind
colors: {
  custom: {
    50: '#687890',
    500: '#2a4564',
    950: '#000000',
  },
}
SCSS
$custom: #2a4564;
$custom-light: #687890;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4564",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 100
  },
  "hsl": {
    "h": 212.069,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38374,
    "c": 0.06269,
    "h": 252.8
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#2A4564
secondary
#967753
accent
#9857D1
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2A4564

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

Preview Lab → · Contrast checker → · Palette generator →

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