#2A5D94#2A5D94

#2A5D94 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.105 H 252.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2A5D94
RGBrgb(42, 93, 148)
HSLhsl(211, 56%, 37%)
HSVhsv(211, 72%, 58%)
CMYKcmyk(71.6%, 37.2%, 0%, 42%)
CIE-LABlab(38.65, 2.13, -35.17)
CIE-LCHlch(38.65, 35.24, 273.47°)
OKLaboklab(47.12% -0.0316 -0.1)
OKLCHoklch(47.12% 0.105 252.4)
XYZxyz(10.2125, 10.4580, 29.4916)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D94 #94612A
analogous
#2A9294 #2A5D94 #2C2A94
triadic
#2A5D94 #942A5D #5D942A
tetradic
#2A5D94 #942A92 #94612A #2A942C
square
#2A5D94 #942A92 #94612A #2A942C
split-complementary
#2A5D94 #942C2A #92942A
monochromatic
#0F2135 #1C3F64 #2A5D94 #387BC4 #659AD3

Accessibility & contrast

On white

6.79
#2A5D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A5D94
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D94#FFFFFF#000000##FFFFFF
##2A5D941.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446096
Deuteranopia (green-blind)
#355693
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5d94;
/* rgb */ color: rgb(42, 93, 148);
/* oklch */ color: oklch(47.1% 0.105 252.4);
Tailwind
colors: {
  custom: {
    50: '#718ab4',
    500: '#2a5d94',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d94;
$custom-light: #718ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d94",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 148
  },
  "hsl": {
    "h": 211.132,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47118,
    "c": 0.1049,
    "h": 252.4
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#2A5D94
secondary
#B98F60
accent
#9749DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5D94

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

Preview Lab → · Contrast checker → · Palette generator →

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