#2A5A9B#2A5A9B

#2A5A9B is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.9% C 0.118 H 256.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2A5A9B
RGBrgb(42, 90, 155)
HSLhsl(215, 57%, 39%)
HSVhsv(215, 73%, 61%)
CMYKcmyk(72.9%, 41.9%, 0%, 39.2%)
CIE-LABlab(38.15, 6.72, -40.19)
CIE-LCHlch(38.15, 40.74, 279.49°)
OKLaboklab(46.85% -0.0269 -0.1147)
OKLCHoklch(46.85% 0.118 256.8)
XYZxyz(10.5252, 10.1700, 32.4123)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5A9B #9B6B2A
analogous
#2A929B #2A5A9B #322A9B
triadic
#2A5A9B #9B2A5A #5A9B2A
tetradic
#2A5A9B #9B2A92 #9B6B2A #2A9B32
square
#2A5A9B #9B2A92 #9B6B2A #2A9B32
split-complementary
#2A5A9B #9B322A #929B2A
monochromatic
#10223B #1D3E6B #2A5A9B #3976C9 #6997D6

Accessibility & contrast

On white

6.92
#2A5A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2A5A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5A9B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5A9B#FFFFFF#000000##FFFFFF
##2A5A9B1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9E
Deuteranopia (green-blind)
#29559A
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5a9b;
/* rgb */ color: rgb(42, 90, 155);
/* oklch */ color: oklch(46.9% 0.118 256.8);
Tailwind
colors: {
  custom: {
    50: '#7288b9',
    500: '#2a5a9b',
    950: '#000000',
  },
}
SCSS
$custom: #2a5a9b;
$custom-light: #7288b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5a9b",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 155
  },
  "hsl": {
    "h": 214.513,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.11786,
    "h": 256.8
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#2A5A9B
secondary
#BD9764
accent
#9F47E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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