#2A5A97#2A5A97

#2A5A97 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.6% C 0.112 H 255.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2A5A97
RGBrgb(42, 90, 151)
HSLhsl(214, 56%, 38%)
HSVhsv(214, 72%, 59%)
CMYKcmyk(72.2%, 40.4%, 0%, 40.8%)
CIE-LABlab(37.91, 5.19, -38.16)
CIE-LCHlch(37.91, 38.51, 277.75°)
OKLaboklab(46.6% -0.0279 -0.1088)
OKLCHoklch(46.6% 0.112 255.6)
XYZxyz(10.1949, 10.0378, 30.6724)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5A97 #97672A
analogous
#2A9097 #2A5A97 #302A97
triadic
#2A5A97 #972A5A #5A972A
tetradic
#2A5A97 #972A90 #97672A #2A9730
square
#2A5A97 #972A90 #97672A #2A9730
split-complementary
#2A5A97 #97302A #90972A
monochromatic
#0F2137 #1D3D67 #2A5A97 #3777C7 #6797D5

Accessibility & contrast

On white

6.98
#2A5A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2A5A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5A97
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5A97#FFFFFF#000000##FFFFFF
##2A5A971.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#2D5596
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5a97;
/* rgb */ color: rgb(42, 90, 151);
/* oklch */ color: oklch(46.6% 0.112 255.6);
Tailwind
colors: {
  custom: {
    50: '#7188b6',
    500: '#2a5a97',
    950: '#000000',
  },
}
SCSS
$custom: #2a5a97;
$custom-light: #7188b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5a97",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 213.578,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.1123,
    "h": 255.6
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#2A5A97
secondary
#BB9462
accent
#9D48E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5A97

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

Preview Lab → · Contrast checker → · Palette generator →

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