#2A5D8B#2A5D8B

#2A5D8B is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.6% C 0.093 H 248.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2A5D8B
RGBrgb(42, 93, 139)
HSLhsl(208, 54%, 35%)
HSVhsv(208, 70%, 55%)
CMYKcmyk(69.8%, 33.1%, 0%, 45.5%)
CIE-LABlab(38.17, -1.23, -30.50)
CIE-LCHlch(38.17, 30.52, 267.69°)
OKLaboklab(46.58% -0.0342 -0.0863)
OKLCHoklch(46.58% 0.093 248.4)
XYZxyz(9.5277, 10.1840, 25.8847)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D8B #8B582A
analogous
#2A8B88 #2A5D8B #2A2C8B
triadic
#2A5D8B #8B2A5D #5D8B2A
tetradic
#2A5D8B #882A8B #8B582A #2C8B2A
square
#2A5D8B #882A8B #8B582A #2C8B2A
split-complementary
#2A5D8B #8B2A2C #8B882A
monochromatic
#0E1E2D #1C3E5C #2A5D8B #387CBA #609BCF

Accessibility & contrast

On white

6.91
#2A5D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2A5D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5D8B
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D8B#FFFFFF#000000##FFFFFF
##2A5D8B1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5d8b;
/* rgb */ color: rgb(42, 93, 139);
/* oklch */ color: oklch(46.6% 0.093 248.4);
Tailwind
colors: {
  custom: {
    50: '#6f8aad',
    500: '#2a5d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d8b;
$custom-light: #6f8aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d8b",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 139
  },
  "hsl": {
    "h": 208.454,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46583,
    "c": 0.09289,
    "h": 248.4
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

primary
#2A5D8B
secondary
#B5865C
accent
#904BDD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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