#2A5875#2A5875

#2A5875 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.1% C 0.070 H 238.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2A5875
RGBrgb(42, 88, 117)
HSLhsl(203, 47%, 31%)
HSVhsv(203, 64%, 46%)
CMYKcmyk(64.1%, 24.8%, 0%, 54.1%)
CIE-LABlab(35.51, -6.10, -21.19)
CIE-LCHlch(35.51, 22.05, 253.93°)
OKLaboklab(44.13% -0.0361 -0.0594)
OKLCHoklch(44.13% 0.07 238.7)
XYZxyz(7.6542, 8.7553, 18.1127)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5875 #75472A
analogous
#2A756C #2A5875 #2A3275
triadic
#2A5875 #752A58 #58752A
tetradic
#2A5875 #6C2A75 #75472A #32752A
square
#2A5875 #6C2A75 #75472A #32752A
split-complementary
#2A5875 #752A32 #756C2A
monochromatic
#0A141B #1A3648 #2A5875 #3A7AA2 #5799C3

Accessibility & contrast

On white

7.63
#2A5875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A5875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5875
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5875#FFFFFF#000000##FFFFFF
##2A58751.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5876
Deuteranopia (green-blind)
#405075
Tritanopia (blue-blind)
#005F62
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5875;
/* rgb */ color: rgb(42, 88, 117);
/* oklch */ color: oklch(44.1% 0.070 238.7);
Tailwind
colors: {
  custom: {
    50: '#6b879d',
    500: '#2a5875',
    950: '#000000',
  },
}
SCSS
$custom: #2a5875;
$custom-light: #6b879d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5875",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 117
  },
  "hsl": {
    "h": 203.2,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44127,
    "c": 0.0695,
    "h": 238.7
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#2A5875
secondary
#A77454
accent
#8551D7
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5875

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

Preview Lab → · Contrast checker → · Palette generator →

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