#2A5E89#2A5E89

#2A5E89 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.089 H 246.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2A5E89
RGBrgb(42, 94, 137)
HSLhsl(207, 53%, 35%)
HSVhsv(207, 69%, 54%)
CMYKcmyk(69.3%, 31.4%, 0%, 46.3%)
CIE-LABlab(38.38, -2.59, -28.96)
CIE-LCHlch(38.38, 29.07, 264.88°)
OKLaboklab(46.72% -0.0359 -0.0819)
OKLCHoklch(46.72% 0.089 246.3)
XYZxyz(9.4712, 10.3028, 25.1516)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E89 #89552A
analogous
#2A8985 #2A5E89 #2A2E89
triadic
#2A5E89 #892A5E #5E892A
tetradic
#2A5E89 #852A89 #89552A #2E892A
square
#2A5E89 #852A89 #89552A #2E892A
split-complementary
#2A5E89 #892A2E #89852A
monochromatic
#0D1E2B #1C3E5A #2A5E89 #387EB8 #5F9CCE

Accessibility & contrast

On white

6.86
#2A5E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2A5E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E89
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E89#FFFFFF#000000##FFFFFF
##2A5E891.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F8B
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5e89;
/* rgb */ color: rgb(42, 94, 137);
/* oklch */ color: oklch(46.7% 0.089 246.3);
Tailwind
colors: {
  custom: {
    50: '#6f8bab',
    500: '#2a5e89',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e89;
$custom-light: #6f8bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e89",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 137
  },
  "hsl": {
    "h": 207.158,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46715,
    "c": 0.0894,
    "h": 246.3
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#2A5E89
secondary
#B4835B
accent
#8D4BDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A5E89

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

Preview Lab → · Contrast checker → · Palette generator →

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