#2A536F#2A536F

#2A536F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.5% C 0.066 H 240.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2A536F
RGBrgb(42, 83, 111)
HSLhsl(204, 45%, 30%)
HSVhsv(204, 62%, 44%)
CMYKcmyk(62.2%, 25.2%, 0%, 56.5%)
CIE-LABlab(33.62, -5.12, -20.39)
CIE-LCHlch(33.62, 21.02, 255.90°)
OKLaboklab(42.54% -0.0323 -0.0571)
OKLCHoklch(42.54% 0.066 240.5)
XYZxyz(6.9163, 7.8258, 16.1819)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A536F #6F462A
analogous
#2A6F69 #2A536F #2A306F
triadic
#2A536F #6F2A53 #536F2A
tetradic
#2A536F #692A6F #6F462A #306F2A
square
#2A536F #692A6F #6F462A #306F2A
split-complementary
#2A536F #6F2A30 #6F692A
monochromatic
#081116 #193243 #2A536F #3B749B #5594BF

Accessibility & contrast

On white

8.19
#2A536F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A536F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A536F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A536F#FFFFFF#000000##FFFFFF
##2A536F1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465370
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#005A5C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a536f;
/* rgb */ color: rgb(42, 83, 111);
/* oklch */ color: oklch(42.5% 0.066 240.5);
Tailwind
colors: {
  custom: {
    50: '#6a8398',
    500: '#2a536f',
    950: '#000000',
  },
}
SCSS
$custom: #2a536f;
$custom-light: #6a8398;
$custom-dark: #000000;
JSON
{
  "hex": "#2a536f",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 111
  },
  "hsl": {
    "h": 204.348,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.42537,
    "c": 0.06564,
    "h": 240.5
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#2A536F
secondary
#A17354
accent
#8853D5
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A536F

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

Preview Lab → · Contrast checker → · Palette generator →

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