#2A5672#2A5672

#2A5672 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.5% C 0.067 H 238.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2A5672
RGBrgb(42, 86, 114)
HSLhsl(203, 46%, 31%)
HSVhsv(203, 63%, 45%)
CMYKcmyk(63.2%, 24.6%, 0%, 55.3%)
CIE-LABlab(34.73, -5.93, -20.54)
CIE-LCHlch(34.73, 21.38, 253.90°)
OKLaboklab(43.46% -0.0348 -0.0576)
OKLCHoklch(43.46% 0.067 238.8)
XYZxyz(7.3188, 8.3620, 17.1447)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5672 #72462A
analogous
#2A726A #2A5672 #2A3272
triadic
#2A5672 #722A56 #56722A
tetradic
#2A5672 #6A2A72 #72462A #32722A
square
#2A5672 #6A2A72 #72462A #32722A
split-complementary
#2A5672 #722A32 #726A2A
monochromatic
#091319 #1A3445 #2A5672 #3A789F #5697C1

Accessibility & contrast

On white

7.86
#2A5672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A5672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5672
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5672#FFFFFF#000000##FFFFFF
##2A56721.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495673
Deuteranopia (green-blind)
#3F4E72
Tritanopia (blue-blind)
#005D5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5672;
/* rgb */ color: rgb(42, 86, 114);
/* oklch */ color: oklch(43.5% 0.067 238.8);
Tailwind
colors: {
  custom: {
    50: '#6b859a',
    500: '#2a5672',
    950: '#000000',
  },
}
SCSS
$custom: #2a5672;
$custom-light: #6b859a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5672",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 114
  },
  "hsl": {
    "h": 203.333,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4346,
    "c": 0.06727,
    "h": 238.8
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#2A5672
secondary
#A47354
accent
#8552D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5672

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

Preview Lab → · Contrast checker → · Palette generator →

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