#2A5E8A#2A5E8A

#2A5E8A is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.8% C 0.091 H 246.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2A5E8A
RGBrgb(42, 94, 138)
HSLhsl(208, 53%, 35%)
HSVhsv(208, 70%, 54%)
CMYKcmyk(69.6%, 31.9%, 0%, 45.9%)
CIE-LABlab(38.43, -2.22, -29.48)
CIE-LCHlch(38.43, 29.57, 265.69°)
OKLaboklab(46.77% -0.0356 -0.0834)
OKLCHoklch(46.77% 0.091 246.9)
XYZxyz(9.5433, 10.3316, 25.5311)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E8A #8A562A
analogous
#2A8A86 #2A5E8A #2A2E8A
triadic
#2A5E8A #8A2A5E #5E8A2A
tetradic
#2A5E8A #862A8A #8A562A #2E8A2A
square
#2A5E8A #862A8A #8A562A #2E8A2A
split-complementary
#2A5E8A #8A2A2E #8A862A
monochromatic
#0D1E2C #1C3E5B #2A5E8A #387EB9 #609CCF

Accessibility & contrast

On white

6.85
#2A5E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2A5E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E8A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E8A#FFFFFF#000000##FFFFFF
##2A5E8A1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608C
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5e8a;
/* rgb */ color: rgb(42, 94, 138);
/* oklch */ color: oklch(46.8% 0.091 246.9);
Tailwind
colors: {
  custom: {
    50: '#6f8bac',
    500: '#2a5e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e8a;
$custom-light: #6f8bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e8a",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 207.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.09067,
    "h": 246.9
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

primary
#2A5E8A
secondary
#B4845B
accent
#8E4BDD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A5E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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