#2A5F8A#2A5F8A

#2A5F8A is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.0% C 0.090 H 245.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2A5F8A
RGBrgb(42, 95, 138)
HSLhsl(207, 53%, 35%)
HSVhsv(207, 70%, 54%)
CMYKcmyk(69.6%, 31.2%, 0%, 45.9%)
CIE-LABlab(38.74, -2.85, -28.99)
CIE-LCHlch(38.74, 29.13, 264.39°)
OKLaboklab(47.02% -0.0367 -0.0819)
OKLCHoklch(47.02% 0.09 245.9)
XYZxyz(9.6328, 10.5106, 25.5609)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F8A #8A552A
analogous
#2A8A85 #2A5F8A #2A2F8A
triadic
#2A5F8A #8A2A5F #5F8A2A
tetradic
#2A5F8A #852A8A #8A552A #2F8A2A
square
#2A5F8A #852A8A #8A552A #2F8A2A
split-complementary
#2A5F8A #8A2A2F #8A852A
monochromatic
#0D1E2C #1C3F5B #2A5F8A #387FB9 #609DCF

Accessibility & contrast

On white

6.77
#2A5F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2A5F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5F8A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F8A#FFFFFF#000000##FFFFFF
##2A5F8A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5f8a;
/* rgb */ color: rgb(42, 95, 138);
/* oklch */ color: oklch(47.0% 0.090 245.9);
Tailwind
colors: {
  custom: {
    50: '#6f8cac',
    500: '#2a5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f8a;
$custom-light: #6f8cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f8a",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 206.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.08979,
    "h": 245.9
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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