#2A5B9E#2A5B9E

#2A5B9E is a mid, vivid cyan. Relative luminance 0.104; OKLCH L 47.3% C 0.121 H 257.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2A5B9E
RGBrgb(42, 91, 158)
HSLhsl(215, 58%, 39%)
HSVhsv(215, 73%, 62%)
CMYKcmyk(73.4%, 42.4%, 0%, 38%)
CIE-LABlab(38.62, 7.21, -41.22)
CIE-LCHlch(38.62, 41.85, 279.93°)
OKLaboklab(47.28% -0.0272 -0.1178)
OKLCHoklch(47.28% 0.121 257)
XYZxyz(10.8652, 10.4418, 33.7840)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B9E #9E6D2A
analogous
#2A959E #2A5B9E #332A9E
triadic
#2A5B9E #9E2A5B #5B9E2A
tetradic
#2A5B9E #9E2A95 #9E6D2A #2A9E33
square
#2A5B9E #9E2A95 #9E6D2A #2A9E33
split-complementary
#2A5B9E #9E332A #959E2A
monochromatic
#10233D #1D3F6E #2A5B9E #3A77CB #6B99D8

Accessibility & contrast

On white

6.80
#2A5B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2A5B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5B9E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B9E#FFFFFF#000000##FFFFFF
##2A5B9E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B61A1
Deuteranopia (green-blind)
#27569D
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5b9e;
/* rgb */ color: rgb(42, 91, 158);
/* oklch */ color: oklch(47.3% 0.121 257.0);
Tailwind
colors: {
  custom: {
    50: '#7388bb',
    500: '#2a5b9e',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b9e;
$custom-light: #7388bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b9e",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 158
  },
  "hsl": {
    "h": 214.655,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47284,
    "c": 0.12086,
    "h": 257
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#2A5B9E
secondary
#BE9966
accent
#A047E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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