#2A6E9D#2A6E9D

#2A6E9D is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.7% C 0.101 H 242.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2A6E9D
RGBrgb(42, 110, 157)
HSLhsl(205, 58%, 39%)
HSVhsv(205, 73%, 62%)
CMYKcmyk(73.2%, 29.9%, 0%, 38.4%)
CIE-LABlab(44.34, -5.06, -31.57)
CIE-LCHlch(44.34, 31.97, 260.90°)
OKLaboklab(51.75% -0.0462 -0.0893)
OKLCHoklch(51.75% 0.101 242.6)
XYZxyz(12.6142, 14.0770, 33.9441)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E9D #9D592A
analogous
#2A9D93 #2A6E9D #2A349D
triadic
#2A6E9D #9D2A6E #6E9D2A
tetradic
#2A6E9D #932A9D #9D592A #349D2A
square
#2A6E9D #932A9D #9D592A #349D2A
split-complementary
#2A6E9D #9D2A34 #9D932A
monochromatic
#102A3C #1D4C6D #2A6E9D #3A8FCA #6AABD7

Accessibility & contrast

On white

5.50
#2A6E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2A6E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E9D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E9D#FFFFFF#000000##FFFFFF
##2A6E9D1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586F9F
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6e9d;
/* rgb */ color: rgb(42, 110, 157);
/* oklch */ color: oklch(51.7% 0.101 242.6);
Tailwind
colors: {
  custom: {
    50: '#7397ba',
    500: '#2a6e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e9d;
$custom-light: #7397ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e9d",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 157
  },
  "hsl": {
    "h": 204.522,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.10053,
    "h": 242.6
  },
  "luminance": 0.14078
}

Semantic roles & 50–950 ramp

primary
#2A6E9D
secondary
#BE8965
accent
#8647E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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