#2A526B#2A526B

#2A526B is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.062 H 238.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2A526B
RGBrgb(42, 82, 107)
HSLhsl(203, 44%, 29%)
HSVhsv(203, 61%, 42%)
CMYKcmyk(60.7%, 23.4%, 0%, 58%)
CIE-LABlab(33.11, -5.91, -18.67)
CIE-LCHlch(33.11, 19.59, 252.45°)
OKLaboklab(42.07% -0.0326 -0.0522)
OKLCHoklch(42.07% 0.062 238.1)
XYZxyz(6.6250, 7.5878, 15.0225)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A526B #6B432A
analogous
#2A6B64 #2A526B #2A326B
triadic
#2A526B #6B2A52 #526B2A
tetradic
#2A526B #642A6B #6B432A #326B2A
square
#2A526B #642A6B #6B432A #326B2A
split-complementary
#2A526B #6B2A32 #6B642A
monochromatic
#091116 #19303F #2A526B #3B7497 #5494BC

Accessibility & contrast

On white

8.34
#2A526B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A526B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A526B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A526B#FFFFFF#000000##FFFFFF
##2A526B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526C
Deuteranopia (green-blind)
#3E4B6B
Tritanopia (blue-blind)
#00585A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a526b;
/* rgb */ color: rgb(42, 82, 107);
/* oklch */ color: oklch(42.1% 0.062 238.1);
Tailwind
colors: {
  custom: {
    50: '#6a8295',
    500: '#2a526b',
    950: '#000000',
  },
}
SCSS
$custom: #2a526b;
$custom-light: #6a8295;
$custom-dark: #000000;
JSON
{
  "hex": "#2a526b",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 107
  },
  "hsl": {
    "h": 203.077,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.06154,
    "h": 238.1
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#2A526B
secondary
#9D7054
accent
#8554D3
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A526B

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

Preview Lab → · Contrast checker → · Palette generator →

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