#2A5E8D#2A5E8D

#2A5E8D is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.095 H 248.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2A5E8D
RGBrgb(42, 94, 141)
HSLhsl(208, 54%, 36%)
HSVhsv(208, 70%, 55%)
CMYKcmyk(70.2%, 33.3%, 0%, 44.7%)
CIE-LABlab(38.59, -1.11, -31.06)
CIE-LCHlch(38.59, 31.08, 267.94°)
OKLaboklab(46.94% -0.0347 -0.088)
OKLCHoklch(46.94% 0.095 248.5)
XYZxyz(9.7635, 10.4197, 26.6908)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E8D #8D592A
analogous
#2A8D8A #2A5E8D #2A2C8D
triadic
#2A5E8D #8D2A5E #5E8D2A
tetradic
#2A5E8D #8A2A8D #8D592A #2C8D2A
square
#2A5E8D #8A2A8D #8D592A #2C8D2A
split-complementary
#2A5E8D #8D2A2C #8D8A2A
monochromatic
#0E1F2F #1C3F5E #2A5E8D #387DBC #619BD0

Accessibility & contrast

On white

6.81
#2A5E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2A5E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E8D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E8D#FFFFFF#000000##FFFFFF
##2A5E8D1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49608F
Deuteranopia (green-blind)
#3B578C
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5e8d;
/* rgb */ color: rgb(42, 94, 141);
/* oklch */ color: oklch(46.9% 0.095 248.5);
Tailwind
colors: {
  custom: {
    50: '#708bae',
    500: '#2a5e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e8d;
$custom-light: #708bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e8d",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 141
  },
  "hsl": {
    "h": 208.485,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46943,
    "c": 0.09456,
    "h": 248.5
  },
  "luminance": 0.10421
}

Semantic roles & 50–950 ramp

primary
#2A5E8D
secondary
#B6875D
accent
#904ADD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A5E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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