#2A5283#2A5283

#2A5283 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.093 H 254.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2A5283
RGBrgb(42, 82, 131)
HSLhsl(213, 51%, 34%)
HSVhsv(213, 68%, 51%)
CMYKcmyk(67.9%, 37.4%, 0%, 48.6%)
CIE-LABlab(34.32, 2.82, -31.69)
CIE-LCHlch(34.32, 31.81, 275.09°)
OKLaboklab(43.43% -0.0247 -0.0899)
OKLCHoklch(43.43% 0.093 254.7)
XYZxyz(8.0674, 8.1647, 22.6191)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5283 #835B2A
analogous
#2A7F83 #2A5283 #2F2A83
triadic
#2A5283 #832A52 #52832A
tetradic
#2A5283 #832A7F #835B2A #2A832F
square
#2A5283 #832A7F #835B2A #2A832F
split-complementary
#2A5283 #832F2A #7F832A
monochromatic
#0C1826 #1B3555 #2A5283 #396FB1 #5D8ECB

Accessibility & contrast

On white

7.98
#2A5283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2A5283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5283
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5283#FFFFFF#000000##FFFFFF
##2A52831.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5585
Deuteranopia (green-blind)
#304D82
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5283;
/* rgb */ color: rgb(42, 82, 131);
/* oklch */ color: oklch(43.4% 0.093 254.7);
Tailwind
colors: {
  custom: {
    50: '#6e82a7',
    500: '#2a5283',
    950: '#000000',
  },
}
SCSS
$custom: #2a5283;
$custom-light: #6e82a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5283",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 131
  },
  "hsl": {
    "h": 213.034,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.09327,
    "h": 254.7
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#2A5283
secondary
#B18958
accent
#9B4DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5283

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

Preview Lab → · Contrast checker → · Palette generator →

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