#2A6A8B#2A6A8B

#2A6A8B is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 49.8% C 0.083 H 234.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2A6A8B
RGBrgb(42, 106, 139)
HSLhsl(200, 54%, 35%)
HSVhsv(200, 70%, 55%)
CMYKcmyk(69.8%, 23.7%, 0%, 45.5%)
CIE-LABlab(42.25, -9.15, -24.12)
CIE-LCHlch(42.25, 25.80, 249.22°)
OKLaboklab(49.81% -0.0483 -0.0677)
OKLCHoklch(49.81% 0.083 234.5)
XYZxyz(10.7673, 12.6632, 26.2979)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6A8B #8B4B2A
analogous
#2A8B7B #2A6A8B #2A3A8B
triadic
#2A6A8B #8B2A6A #6A8B2A
tetradic
#2A6A8B #7B2A8B #8B4B2A #3A8B2A
square
#2A6A8B #7B2A8B #8B4B2A #3A8B2A
split-complementary
#2A6A8B #8B2A3A #8B7B2A
monochromatic
#0E222D #1C465C #2A6A8B #388EBA #60A9CF

Accessibility & contrast

On white

5.94
#2A6A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6A8B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6A8B#FFFFFF#000000##FFFFFF
##2A6A8B1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6a8b;
/* rgb */ color: rgb(42, 106, 139);
/* oklch */ color: oklch(49.8% 0.083 234.5);
Tailwind
colors: {
  custom: {
    50: '#7094ad',
    500: '#2a6a8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a6a8b;
$custom-light: #7094ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6a8b",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 139
  },
  "hsl": {
    "h": 200.412,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.0832,
    "h": 234.5
  },
  "luminance": 0.12664
}

Semantic roles & 50–950 ramp

primary
#2A6A8B
secondary
#B57A5C
accent
#7D4BDD
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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