#2A526D#2A526D

#2A526D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.064 H 240.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2A526D
RGBrgb(42, 82, 109)
HSLhsl(204, 44%, 30%)
HSVhsv(204, 61%, 43%)
CMYKcmyk(61.5%, 24.8%, 0%, 57.3%)
CIE-LABlab(33.20, -5.20, -19.79)
CIE-LCHlch(33.20, 20.46, 255.26°)
OKLaboklab(42.18% -0.0318 -0.0554)
OKLCHoklch(42.18% 0.064 240.2)
XYZxyz(6.7314, 7.6303, 15.5831)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A526D #6D452A
analogous
#2A6D67 #2A526D #2A316D
triadic
#2A526D #6D2A52 #526D2A
tetradic
#2A526D #672A6D #6D452A #316D2A
square
#2A526D #672A6D #6D452A #316D2A
split-complementary
#2A526D #6D2A31 #6D672A
monochromatic
#091116 #193141 #2A526D #3B7399 #5493BD

Accessibility & contrast

On white

8.31
#2A526D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A526D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A526D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A526D#FFFFFF#000000##FFFFFF
##2A526D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526E
Deuteranopia (green-blind)
#3D4B6D
Tritanopia (blue-blind)
#00595B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a526d;
/* rgb */ color: rgb(42, 82, 109);
/* oklch */ color: oklch(42.2% 0.064 240.2);
Tailwind
colors: {
  custom: {
    50: '#6a8297',
    500: '#2a526d',
    950: '#000000',
  },
}
SCSS
$custom: #2a526d;
$custom-light: #6a8297;
$custom-dark: #000000;
JSON
{
  "hex": "#2a526d",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 109
  },
  "hsl": {
    "h": 204.179,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42176,
    "c": 0.0639,
    "h": 240.2
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#2A526D
secondary
#9F7254
accent
#8754D4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A526D

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

Preview Lab → · Contrast checker → · Palette generator →

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