#2A5D9E#2A5D9E

#2A5D9E is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.119 H 255.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2A5D9E
RGBrgb(42, 93, 158)
HSLhsl(214, 58%, 39%)
HSVhsv(214, 73%, 62%)
CMYKcmyk(73.4%, 41.1%, 0%, 38%)
CIE-LABlab(39.22, 5.92, -40.27)
CIE-LCHlch(39.22, 40.70, 278.37°)
OKLaboklab(47.75% -0.0291 -0.1149)
OKLCHoklch(47.75% 0.119 255.8)
XYZxyz(11.0385, 10.7884, 33.8417)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D9E #9E6B2A
analogous
#2A979E #2A5D9E #312A9E
triadic
#2A5D9E #9E2A5D #5D9E2A
tetradic
#2A5D9E #9E2A97 #9E6B2A #2A9E31
square
#2A5D9E #9E2A97 #9E6B2A #2A9E31
split-complementary
#2A5D9E #9E312A #979E2A
monochromatic
#10243D #1D416E #2A5D9E #3A7ACB #6B9BD8

Accessibility & contrast

On white

6.65
#2A5D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2A5D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5D9E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D9E#FFFFFF#000000##FFFFFF
##2A5D9E1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E62A1
Deuteranopia (green-blind)
#2C579D
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5d9e;
/* rgb */ color: rgb(42, 93, 158);
/* oklch */ color: oklch(47.7% 0.119 255.8);
Tailwind
colors: {
  custom: {
    50: '#738abb',
    500: '#2a5d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d9e;
$custom-light: #738abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d9e",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 158
  },
  "hsl": {
    "h": 213.621,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.11856,
    "h": 255.8
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#2A5D9E
secondary
#BE9766
accent
#9D47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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