#2A526F#2A526F

#2A526F is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.3% C 0.066 H 242.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2A526F
RGBrgb(42, 82, 111)
HSLhsl(205, 45%, 30%)
HSVhsv(205, 62%, 44%)
CMYKcmyk(62.2%, 26.1%, 0%, 56.5%)
CIE-LABlab(33.29, -4.50, -20.89)
CIE-LCHlch(33.29, 21.37, 257.85°)
OKLaboklab(42.28% -0.0311 -0.0586)
OKLCHoklch(42.28% 0.066 242.1)
XYZxyz(6.8403, 7.6739, 16.1566)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A526F #6F472A
analogous
#2A6F69 #2A526F #2A306F
triadic
#2A526F #6F2A52 #526F2A
tetradic
#2A526F #692A6F #6F472A #306F2A
square
#2A526F #692A6F #6F472A #306F2A
split-complementary
#2A526F #6F2A30 #6F692A
monochromatic
#081016 #193143 #2A526F #3B739B #5592BF

Accessibility & contrast

On white

8.28
#2A526F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A526F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A526F#FFFFFF#000000##FFFFFF
##2A526F1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a526f;
/* rgb */ color: rgb(42, 82, 111);
/* oklch */ color: oklch(42.3% 0.066 242.1);
Tailwind
colors: {
  custom: {
    50: '#6a8298',
    500: '#2a526f',
    950: '#000000',
  },
}
SCSS
$custom: #2a526f;
$custom-light: #6a8298;
$custom-dark: #000000;
JSON
{
  "hex": "#2a526f",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 111
  },
  "hsl": {
    "h": 205.217,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.06632,
    "h": 242.1
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#2A526F
secondary
#A17454
accent
#8A53D5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A526F

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

Preview Lab → · Contrast checker → · Palette generator →

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