#2A5286#2A5286

#2A5286 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.098 H 255.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2A5286
RGBrgb(42, 82, 134)
HSLhsl(214, 52%, 35%)
HSVhsv(214, 69%, 53%)
CMYKcmyk(68.7%, 38.8%, 0%, 47.5%)
CIE-LABlab(34.49, 3.95, -33.26)
CIE-LCHlch(34.49, 33.49, 276.78°)
OKLaboklab(43.61% -0.0239 -0.0946)
OKLCHoklch(43.61% 0.098 255.8)
XYZxyz(8.2737, 8.2472, 23.7055)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5286 #865E2A
analogous
#2A8086 #2A5286 #302A86
triadic
#2A5286 #862A52 #52862A
tetradic
#2A5286 #862A80 #865E2A #2A8630
square
#2A5286 #862A80 #865E2A #2A8630
split-complementary
#2A5286 #86302A #80862A
monochromatic
#0D1929 #1B3557 #2A5286 #396FB5 #5E8ECD

Accessibility & contrast

On white

7.93
#2A5286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2A5286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5286
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5286#FFFFFF#000000##FFFFFF
##2A52861.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5286;
/* rgb */ color: rgb(42, 82, 134);
/* oklch */ color: oklch(43.6% 0.098 255.8);
Tailwind
colors: {
  custom: {
    50: '#6e82a9',
    500: '#2a5286',
    950: '#000000',
  },
}
SCSS
$custom: #2a5286;
$custom-light: #6e82a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5286",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 213.913,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43615,
    "c": 0.09752,
    "h": 255.8
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#2A5286
secondary
#B28C5A
accent
#9D4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5286

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

Preview Lab → · Contrast checker → · Palette generator →

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