#2A5A8B#2A5A8B

#2A5A8B is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.9% C 0.096 H 251.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2A5A8B
RGBrgb(42, 90, 139)
HSLhsl(210, 54%, 35%)
HSVhsv(210, 70%, 55%)
CMYKcmyk(69.8%, 35.3%, 0%, 45.5%)
CIE-LABlab(37.24, 0.67, -31.97)
CIE-LCHlch(37.24, 31.97, 271.20°)
OKLaboklab(45.85% -0.031 -0.0907)
OKLCHoklch(45.85% 0.096 251.1)
XYZxyz(9.2695, 9.6677, 25.7986)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5A8B #8B5B2A
analogous
#2A8A8B #2A5A8B #2A2A8B
triadic
#2A5A8B #8B2A5A #5A8B2A
tetradic
#2A5A8B #8B2A8A #8B5B2A #2A8B2A
square
#2A5A8B #8B2A8A #8B5B2A #2A8B2A
split-complementary
#2A5A8B #8B2A2A #8A8B2A
monochromatic
#0E1D2D #1C3C5C #2A5A8B #3878BA #6097CF

Accessibility & contrast

On white

7.16
#2A5A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2A5A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5A8B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5A8B#FFFFFF#000000##FFFFFF
##2A5A8B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8D
Deuteranopia (green-blind)
#37538A
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5a8b;
/* rgb */ color: rgb(42, 90, 139);
/* oklch */ color: oklch(45.9% 0.096 251.1);
Tailwind
colors: {
  custom: {
    50: '#6f88ad',
    500: '#2a5a8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a5a8b;
$custom-light: #6f88ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5a8b",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 139
  },
  "hsl": {
    "h": 210.309,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45852,
    "c": 0.09584,
    "h": 251.1
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#2A5A8B
secondary
#B5895C
accent
#954BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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