#2A5D97#2A5D97

#2A5D97 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.109 H 253.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2A5D97
RGBrgb(42, 93, 151)
HSLhsl(212, 56%, 38%)
HSVhsv(212, 72%, 59%)
CMYKcmyk(72.2%, 38.4%, 0%, 40.8%)
CIE-LABlab(38.82, 3.26, -36.71)
CIE-LCHlch(38.82, 36.86, 275.08°)
OKLaboklab(47.3% -0.0308 -0.1045)
OKLCHoklch(47.3% 0.109 253.6)
XYZxyz(10.4530, 10.5542, 30.7584)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D97 #97642A
analogous
#2A9397 #2A5D97 #2E2A97
triadic
#2A5D97 #972A5D #5D972A
tetradic
#2A5D97 #972A93 #97642A #2A972E
square
#2A5D97 #972A93 #97642A #2A972E
split-complementary
#2A5D97 #972E2A #93972A
monochromatic
#0F2237 #1D4067 #2A5D97 #377AC7 #679AD5

Accessibility & contrast

On white

6.75
#2A5D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2A5D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5D97
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D97#FFFFFF#000000##FFFFFF
##2A5D971.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#325796
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5d97;
/* rgb */ color: rgb(42, 93, 151);
/* oklch */ color: oklch(47.3% 0.109 253.6);
Tailwind
colors: {
  custom: {
    50: '#718ab6',
    500: '#2a5d97',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d97;
$custom-light: #718ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d97",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 211.927,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47303,
    "c": 0.10897,
    "h": 253.6
  },
  "luminance": 0.10555
}

Semantic roles & 50–950 ramp

primary
#2A5D97
secondary
#BB9162
accent
#9948E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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