#2A536C#2A536C

#2A536C is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.4% C 0.062 H 237.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2A536C
RGBrgb(42, 83, 108)
HSLhsl(203, 44%, 29%)
HSVhsv(203, 61%, 42%)
CMYKcmyk(61.1%, 23.1%, 0%, 57.6%)
CIE-LABlab(33.48, -6.18, -18.73)
CIE-LCHlch(33.48, 19.72, 251.75°)
OKLaboklab(42.38% -0.0334 -0.0524)
OKLCHoklch(42.38% 0.062 237.5)
XYZxyz(6.7539, 7.7608, 15.3265)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A536C #6C432A
analogous
#2A6C64 #2A536C #2A326C
triadic
#2A536C #6C2A53 #536C2A
tetradic
#2A536C #642A6C #6C432A #326C2A
square
#2A536C #642A6C #6C432A #326C2A
split-complementary
#2A536C #6C2A32 #6C642A
monochromatic
#091116 #193140 #2A536C #3B7598 #5495BC

Accessibility & contrast

On white

8.23
#2A536C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A536C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A536C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A536C#FFFFFF#000000##FFFFFF
##2A536C1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536D
Deuteranopia (green-blind)
#3E4C6C
Tritanopia (blue-blind)
#00595B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a536c;
/* rgb */ color: rgb(42, 83, 108);
/* oklch */ color: oklch(42.4% 0.062 237.5);
Tailwind
colors: {
  custom: {
    50: '#6a8396',
    500: '#2a536c',
    950: '#000000',
  },
}
SCSS
$custom: #2a536c;
$custom-light: #6a8396;
$custom-dark: #000000;
JSON
{
  "hex": "#2a536c",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 108
  },
  "hsl": {
    "h": 202.727,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.06212,
    "h": 237.5
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#2A536C
secondary
#9E7054
accent
#8454D4
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A536C

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

Preview Lab → · Contrast checker → · Palette generator →

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