#2A6A8A#2A6A8A

#2A6A8A is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 49.8% C 0.082 H 233.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2A6A8A
RGBrgb(42, 106, 138)
HSLhsl(200, 53%, 35%)
HSVhsv(200, 70%, 54%)
CMYKcmyk(69.6%, 23.2%, 0%, 45.9%)
CIE-LABlab(42.21, -9.51, -23.59)
CIE-LCHlch(42.21, 25.43, 248.05°)
OKLaboklab(49.76% -0.0487 -0.0662)
OKLCHoklch(49.76% 0.082 233.7)
XYZxyz(10.6945, 12.6341, 25.9148)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6A8A #8A4A2A
analogous
#2A8A7A #2A6A8A #2A3A8A
triadic
#2A6A8A #8A2A6A #6A8A2A
tetradic
#2A6A8A #7A2A8A #8A4A2A #3A8A2A
square
#2A6A8A #7A2A8A #8A4A2A #3A8A2A
split-complementary
#2A6A8A #8A2A3A #8A7A2A
monochromatic
#0D222C #1C465B #2A6A8A #388EB9 #60AACF

Accessibility & contrast

On white

5.95
#2A6A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2A6A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6A8A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6A8A#FFFFFF#000000##FFFFFF
##2A6A8A1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698C
Deuteranopia (green-blind)
#4D5F8A
Tritanopia (blue-blind)
#007375
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a6a8a;
/* rgb */ color: rgb(42, 106, 138);
/* oklch */ color: oklch(49.8% 0.082 233.7);
Tailwind
colors: {
  custom: {
    50: '#7094ac',
    500: '#2a6a8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a6a8a;
$custom-light: #7094ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6a8a",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 200,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.49762,
    "c": 0.08218,
    "h": 233.7
  },
  "luminance": 0.12635
}

Semantic roles & 50–950 ramp

primary
#2A6A8A
secondary
#B4795B
accent
#7C4BDD
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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