#2A5E95#2A5E95

#2A5E95 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.105 H 252.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2A5E95
RGBrgb(42, 94, 149)
HSLhsl(211, 56%, 37%)
HSVhsv(211, 72%, 58%)
CMYKcmyk(71.8%, 36.9%, 0%, 41.6%)
CIE-LABlab(39.01, 1.87, -35.20)
CIE-LCHlch(39.01, 35.25, 273.05°)
OKLaboklab(47.42% -0.0324 -0.1001)
OKLCHoklch(47.42% 0.105 252.1)
XYZxyz(10.3803, 10.6665, 29.9397)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E95 #95612A
analogous
#2A9495 #2A5E95 #2B2A95
triadic
#2A5E95 #952A5E #5E952A
tetradic
#2A5E95 #952A94 #95612A #2A952B
square
#2A5E95 #952A94 #95612A #2A952B
split-complementary
#2A5E95 #952B2A #94952A
monochromatic
#0F2236 #1D4065 #2A5E95 #377CC5 #669BD4

Accessibility & contrast

On white

6.70
#2A5E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A5E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E95
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E95#FFFFFF#000000##FFFFFF
##2A5E951.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456197
Deuteranopia (green-blind)
#365794
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5e95;
/* rgb */ color: rgb(42, 94, 149);
/* oklch */ color: oklch(47.4% 0.105 252.1);
Tailwind
colors: {
  custom: {
    50: '#718bb4',
    500: '#2a5e95',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e95;
$custom-light: #718bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e95",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 210.841,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.10519,
    "h": 252.1
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A5E95

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

Preview Lab → · Contrast checker → · Palette generator →

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