#2A5F95#2A5F95

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

Color values

HEX#2A5F95
RGBrgb(42, 95, 149)
HSLhsl(210, 56%, 37%)
HSVhsv(210, 72%, 58%)
CMYKcmyk(71.8%, 36.2%, 0%, 41.6%)
CIE-LABlab(39.32, 1.24, -34.72)
CIE-LCHlch(39.32, 34.74, 272.04°)
OKLaboklab(47.66% -0.0334 -0.0986)
OKLCHoklch(47.66% 0.104 251.3)
XYZxyz(10.4698, 10.8455, 29.9695)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F95 #95602A
analogous
#2A9595 #2A5F95 #2A2A95
triadic
#2A5F95 #952A5F #5F952A
tetradic
#2A5F95 #952A95 #95602A #2A952A
square
#2A5F95 #952A95 #95602A #2A952A
split-complementary
#2A5F95 #952A2A #95952A
monochromatic
#0F2236 #1D4165 #2A5F95 #377DC5 #669CD4

Accessibility & contrast

On white

6.63
#2A5F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2A5F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5F95
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F95#FFFFFF#000000##FFFFFF
##2A5F951.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476297
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5f95;
/* rgb */ color: rgb(42, 95, 149);
/* oklch */ color: oklch(47.7% 0.104 251.3);
Tailwind
colors: {
  custom: {
    50: '#718cb4',
    500: '#2a5f95',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f95;
$custom-light: #718cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f95",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 149
  },
  "hsl": {
    "h": 210.28,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47658,
    "c": 0.10415,
    "h": 251.3
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#2A5F95
secondary
#BA8E61
accent
#9548DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2A5F95

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

Preview Lab → · Contrast checker → · Palette generator →

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