#2A5D95#2A5D95

#2A5D95 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.2% C 0.106 H 252.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2A5D95
RGBrgb(42, 93, 149)
HSLhsl(211, 56%, 37%)
HSVhsv(211, 72%, 58%)
CMYKcmyk(71.8%, 37.6%, 0%, 41.6%)
CIE-LABlab(38.71, 2.51, -35.69)
CIE-LCHlch(38.71, 35.78, 274.02°)
OKLaboklab(47.18% -0.0314 -0.1015)
OKLCHoklch(47.18% 0.106 252.8)
XYZxyz(10.2920, 10.4898, 29.9103)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D95 #95622A
analogous
#2A9295 #2A5D95 #2D2A95
triadic
#2A5D95 #952A5D #5D952A
tetradic
#2A5D95 #952A92 #95622A #2A952D
square
#2A5D95 #952A92 #95622A #2A952D
split-complementary
#2A5D95 #952D2A #92952A
monochromatic
#0F2136 #1D3F65 #2A5D95 #377BC5 #669AD4

Accessibility & contrast

On white

6.78
#2A5D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2A5D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5D95
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D95#FFFFFF#000000##FFFFFF
##2A5D951.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5d95;
/* rgb */ color: rgb(42, 93, 149);
/* oklch */ color: oklch(47.2% 0.106 252.8);
Tailwind
colors: {
  custom: {
    50: '#718ab4',
    500: '#2a5d95',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d95;
$custom-light: #718ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d95",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 149
  },
  "hsl": {
    "h": 211.402,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4718,
    "c": 0.10625,
    "h": 252.8
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#2A5D95
secondary
#BA8F61
accent
#9748DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5D95

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

Preview Lab → · Contrast checker → · Palette generator →

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