#2A6E9A#2A6E9A

#2A6E9A is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.6% C 0.097 H 240.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2A6E9A
RGBrgb(42, 110, 154)
HSLhsl(204, 57%, 38%)
HSVhsv(204, 73%, 60%)
CMYKcmyk(72.7%, 28.6%, 0%, 39.6%)
CIE-LABlab(44.20, -6.15, -30.02)
CIE-LCHlch(44.20, 30.65, 258.42°)
OKLaboklab(51.59% -0.0472 -0.0848)
OKLCHoklch(51.59% 0.097 240.9)
XYZxyz(12.3612, 13.9758, 32.6117)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E9A #9A562A
analogous
#2A9A8E #2A6E9A #2A369A
triadic
#2A6E9A #9A2A6E #6E9A2A
tetradic
#2A6E9A #8E2A9A #9A562A #369A2A
square
#2A6E9A #8E2A9A #9A562A #369A2A
split-complementary
#2A6E9A #9A2A36 #9A8E2A
monochromatic
#10293A #1D4C6A #2A6E9A #3890C9 #68ABD6

Accessibility & contrast

On white

5.53
#2A6E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2A6E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E9A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E9A#FFFFFF#000000##FFFFFF
##2A6E9A1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E9C
Deuteranopia (green-blind)
#4A6499
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6e9a;
/* rgb */ color: rgb(42, 110, 154);
/* oklch */ color: oklch(51.6% 0.097 240.9);
Tailwind
colors: {
  custom: {
    50: '#7297b8',
    500: '#2a6e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e9a;
$custom-light: #7297b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e9a",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 154
  },
  "hsl": {
    "h": 203.571,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.09705,
    "h": 240.9
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#2A6E9A
secondary
#BC8663
accent
#8447E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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