#2A5083#2A5083

#2A5083 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.096 H 256.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2A5083
RGBrgb(42, 80, 131)
HSLhsl(214, 51%, 34%)
HSVhsv(214, 68%, 51%)
CMYKcmyk(67.9%, 38.9%, 0%, 48.6%)
CIE-LABlab(33.71, 4.13, -32.66)
CIE-LCHlch(33.71, 32.92, 277.21°)
OKLaboklab(42.95% -0.0225 -0.0928)
OKLCHoklch(42.95% 0.096 256.4)
XYZxyz(7.9188, 7.8675, 22.5696)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5083 #835D2A
analogous
#2A7D83 #2A5083 #312A83
triadic
#2A5083 #832A50 #50832A
tetradic
#2A5083 #832A7D #835D2A #2A8331
square
#2A5083 #832A7D #835D2A #2A8331
split-complementary
#2A5083 #83312A #7D832A
monochromatic
#0C1726 #1B3455 #2A5083 #396CB1 #5D8CCB

Accessibility & contrast

On white

8.16
#2A5083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5083
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5083#FFFFFF#000000##FFFFFF
##2A50831.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395485
Deuteranopia (green-blind)
#2D4B82
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a5083;
/* rgb */ color: rgb(42, 80, 131);
/* oklch */ color: oklch(42.9% 0.096 256.4);
Tailwind
colors: {
  custom: {
    50: '#6e80a7',
    500: '#2a5083',
    950: '#000000',
  },
}
SCSS
$custom: #2a5083;
$custom-light: #6e80a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5083",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 214.382,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42945,
    "c": 0.09553,
    "h": 256.4
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#2A5083
secondary
#B18B58
accent
#9E4DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5083

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

Preview Lab → · Contrast checker → · Palette generator →

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