#2A5883#2A5883

#2A5883 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.087 H 249.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2A5883
RGBrgb(42, 88, 131)
HSLhsl(209, 51%, 34%)
HSVhsv(209, 68%, 51%)
CMYKcmyk(67.9%, 32.8%, 0%, 48.6%)
CIE-LABlab(36.19, -1.03, -28.73)
CIE-LCHlch(36.19, 28.75, 267.94°)
OKLaboklab(44.89% -0.0313 -0.0813)
OKLCHoklch(44.89% 0.087 249)
XYZxyz(8.5398, 9.1095, 22.7766)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5883 #83552A
analogous
#2A8382 #2A5883 #2A2C83
triadic
#2A5883 #832A58 #58832A
tetradic
#2A5883 #822A83 #83552A #2C832A
square
#2A5883 #822A83 #83552A #2C832A
split-complementary
#2A5883 #832A2C #83822A
monochromatic
#0C1A26 #1B3955 #2A5883 #3977B1 #5D96CB

Accessibility & contrast

On white

7.44
#2A5883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2A5883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5883
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5883#FFFFFF#000000##FFFFFF
##2A58831.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A85
Deuteranopia (green-blind)
#395182
Tritanopia (blue-blind)
#006267
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a5883;
/* rgb */ color: rgb(42, 88, 131);
/* oklch */ color: oklch(44.9% 0.087 249.0);
Tailwind
colors: {
  custom: {
    50: '#6e86a7',
    500: '#2a5883',
    950: '#000000',
  },
}
SCSS
$custom: #2a5883;
$custom-light: #6e86a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5883",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 131
  },
  "hsl": {
    "h": 208.989,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44893,
    "c": 0.08708,
    "h": 249
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#2A5883
secondary
#B18358
accent
#924DDB
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A5883

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

Preview Lab → · Contrast checker → · Palette generator →

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