#2A5C8B#2A5C8B

#2A5C8B is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.3% C 0.094 H 249.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2A5C8B
RGBrgb(42, 92, 139)
HSLhsl(209, 54%, 35%)
HSVhsv(209, 70%, 55%)
CMYKcmyk(69.8%, 33.8%, 0%, 45.5%)
CIE-LABlab(37.86, -0.60, -30.99)
CIE-LCHlch(37.86, 30.99, 268.89°)
OKLaboklab(46.34% -0.0332 -0.0878)
OKLCHoklch(46.34% 0.094 249.3)
XYZxyz(9.4405, 10.0096, 25.8556)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C8B #8B592A
analogous
#2A8B89 #2A5C8B #2A2C8B
triadic
#2A5C8B #8B2A5C #5C8B2A
tetradic
#2A5C8B #892A8B #8B592A #2C8B2A
square
#2A5C8B #892A8B #8B592A #2C8B2A
split-complementary
#2A5C8B #8B2A2C #8B892A
monochromatic
#0E1E2D #1C3D5C #2A5C8B #387BBA #6099CF

Accessibility & contrast

On white

6.99
#2A5C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2A5C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5C8B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C8B#FFFFFF#000000##FFFFFF
##2A5C8B1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8D
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5c8b;
/* rgb */ color: rgb(42, 92, 139);
/* oklch */ color: oklch(46.3% 0.094 249.3);
Tailwind
colors: {
  custom: {
    50: '#6f89ad',
    500: '#2a5c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c8b;
$custom-light: #6f89ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c8b",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 139
  },
  "hsl": {
    "h": 209.072,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.09385,
    "h": 249.3
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#2A5C8B
secondary
#B5875C
accent
#924BDD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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