#2A5183#2A5183

#2A5183 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.094 H 255.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2A5183
RGBrgb(42, 81, 131)
HSLhsl(214, 51%, 34%)
HSVhsv(214, 68%, 51%)
CMYKcmyk(67.9%, 38.2%, 0%, 48.6%)
CIE-LABlab(34.01, 3.48, -32.18)
CIE-LCHlch(34.01, 32.36, 276.17°)
OKLaboklab(43.19% -0.0236 -0.0914)
OKLCHoklch(43.19% 0.094 255.5)
XYZxyz(7.9925, 8.0150, 22.5942)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5183 #835C2A
analogous
#2A7E83 #2A5183 #302A83
triadic
#2A5183 #832A51 #51832A
tetradic
#2A5183 #832A7E #835C2A #2A8330
square
#2A5183 #832A7E #835C2A #2A8330
split-complementary
#2A5183 #83302A #7E832A
monochromatic
#0C1826 #1B3455 #2A5183 #396EB1 #5D8DCB

Accessibility & contrast

On white

8.07
#2A5183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2A5183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5183
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5183#FFFFFF#000000##FFFFFF
##2A51831.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5585
Deuteranopia (green-blind)
#2E4C82
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5183;
/* rgb */ color: rgb(42, 81, 131);
/* oklch */ color: oklch(43.2% 0.094 255.5);
Tailwind
colors: {
  custom: {
    50: '#6e81a7',
    500: '#2a5183',
    950: '#000000',
  },
}
SCSS
$custom: #2a5183;
$custom-light: #6e81a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5183",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 213.708,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.09439,
    "h": 255.5
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#2A5183
secondary
#B18A58
accent
#9D4DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5183

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

Preview Lab → · Contrast checker → · Palette generator →

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