#2A5E99#2A5E99

#2A5E99 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.111 H 253.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2A5E99
RGBrgb(42, 94, 153)
HSLhsl(212, 57%, 38%)
HSVhsv(212, 73%, 60%)
CMYKcmyk(72.5%, 38.6%, 0%, 40%)
CIE-LABlab(39.24, 3.38, -37.25)
CIE-LCHlch(39.24, 37.41, 275.19°)
OKLaboklab(47.67% -0.0313 -0.1061)
OKLCHoklch(47.67% 0.111 253.5)
XYZxyz(10.7052, 10.7964, 31.6505)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E99 #99652A
analogous
#2A9599 #2A5E99 #2D2A99
triadic
#2A5E99 #992A5E #5E992A
tetradic
#2A5E99 #992A95 #99652A #2A992D
square
#2A5E99 #992A95 #99652A #2A992D
split-complementary
#2A5E99 #992D2A #95992A
monochromatic
#102339 #1D4069 #2A5E99 #387CC8 #689BD6

Accessibility & contrast

On white

6.65
#2A5E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2A5E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E99
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E99#FFFFFF#000000##FFFFFF
##2A5E991.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#325898
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5e99;
/* rgb */ color: rgb(42, 94, 153);
/* oklch */ color: oklch(47.7% 0.111 253.5);
Tailwind
colors: {
  custom: {
    50: '#728bb7',
    500: '#2a5e99',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e99;
$custom-light: #728bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e99",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 211.892,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47665,
    "c": 0.11061,
    "h": 253.5
  },
  "luminance": 0.10798
}

Semantic roles & 50–950 ramp

primary
#2A5E99
secondary
#BC9263
accent
#9948E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5E99

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

Preview Lab → · Contrast checker → · Palette generator →

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