#2A5885#2A5885

#2A5885 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.0% C 0.090 H 250.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2A5885
RGBrgb(42, 88, 133)
HSLhsl(210, 52%, 34%)
HSVhsv(210, 68%, 52%)
CMYKcmyk(68.4%, 33.8%, 0%, 47.8%)
CIE-LABlab(36.30, -0.29, -29.79)
CIE-LCHlch(36.30, 29.79, 269.44°)
OKLaboklab(45.01% -0.0307 -0.0844)
OKLCHoklch(45.01% 0.09 250)
XYZxyz(8.6766, 9.1643, 23.4974)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5885 #85572A
analogous
#2A8585 #2A5885 #2A2B85
triadic
#2A5885 #852A58 #58852A
tetradic
#2A5885 #852A85 #85572A #2B852A
square
#2A5885 #852A85 #85572A #2B852A
split-complementary
#2A5885 #852A2B #85852A
monochromatic
#0D1A28 #1B3956 #2A5885 #3977B4 #5D95CC

Accessibility & contrast

On white

7.41
#2A5885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2A5885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5885
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5885#FFFFFF#000000##FFFFFF
##2A58851.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445A87
Deuteranopia (green-blind)
#385184
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a5885;
/* rgb */ color: rgb(42, 88, 133);
/* oklch */ color: oklch(45.0% 0.090 250.0);
Tailwind
colors: {
  custom: {
    50: '#6e86a8',
    500: '#2a5885',
    950: '#000000',
  },
}
SCSS
$custom: #2a5885;
$custom-light: #6e86a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5885",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 133
  },
  "hsl": {
    "h": 209.67,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45009,
    "c": 0.08976,
    "h": 250
  },
  "luminance": 0.09165
}

Semantic roles & 50–950 ramp

primary
#2A5885
secondary
#B28559
accent
#934CDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A5885

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

Preview Lab → · Contrast checker → · Palette generator →

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