#2A5C8E#2A5C8E

#2A5C8E is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.5% C 0.098 H 250.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2A5C8E
RGBrgb(42, 92, 142)
HSLhsl(210, 54%, 36%)
HSVhsv(210, 70%, 56%)
CMYKcmyk(70.4%, 35.2%, 0%, 44.3%)
CIE-LABlab(38.02, 0.52, -32.56)
CIE-LCHlch(38.02, 32.56, 270.91°)
OKLaboklab(46.52% -0.0323 -0.0924)
OKLCHoklch(46.52% 0.098 250.7)
XYZxyz(9.6627, 10.0985, 27.0259)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C8E #8E5C2A
analogous
#2A8E8E #2A5C8E #2A2A8E
triadic
#2A5C8E #8E2A5C #5C8E2A
tetradic
#2A5C8E #8E2A8E #8E5C2A #2A8E2A
square
#2A5C8E #8E2A8E #8E5C2A #2A8E2A
split-complementary
#2A5C8E #8E2A2A #8E8E2A
monochromatic
#0E1F30 #1C3D5F #2A5C8E #387BBD #6299D1

Accessibility & contrast

On white

6.95
#2A5C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2A5C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5C8E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C8E#FFFFFF#000000##FFFFFF
##2A5C8E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#38558D
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5c8e;
/* rgb */ color: rgb(42, 92, 142);
/* oklch */ color: oklch(46.5% 0.098 250.7);
Tailwind
colors: {
  custom: {
    50: '#7089af',
    500: '#2a5c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c8e;
$custom-light: #7089af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c8e",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 210,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.09784,
    "h": 250.7
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#2A5C8E
secondary
#B68A5D
accent
#944ADE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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