#2A6B8A#2A6B8A

#2A6B8A is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.0% C 0.082 H 232.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2A6B8A
RGBrgb(42, 107, 138)
HSLhsl(199, 53%, 35%)
HSVhsv(199, 70%, 54%)
CMYKcmyk(69.6%, 22.5%, 0%, 45.9%)
CIE-LABlab(42.52, -10.09, -23.10)
CIE-LCHlch(42.52, 25.21, 246.40°)
OKLaboklab(50.01% -0.0498 -0.0648)
OKLCHoklch(50.01% 0.082 232.5)
XYZxyz(10.7982, 12.8414, 25.9494)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6B8A #8A492A
analogous
#2A8A79 #2A6B8A #2A3B8A
triadic
#2A6B8A #8A2A6B #6B8A2A
tetradic
#2A6B8A #792A8A #8A492A #3B8A2A
square
#2A6B8A #792A8A #8A492A #3B8A2A
split-complementary
#2A6B8A #8A2A3B #8A792A
monochromatic
#0D222C #1C475B #2A6B8A #388FB9 #60ABCF

Accessibility & contrast

On white

5.88
#2A6B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2A6B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6B8A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6B8A#FFFFFF#000000##FFFFFF
##2A6B8A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6b8a;
/* rgb */ color: rgb(42, 107, 138);
/* oklch */ color: oklch(50.0% 0.082 232.5);
Tailwind
colors: {
  custom: {
    50: '#7095ac',
    500: '#2a6b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a6b8a;
$custom-light: #7095ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6b8a",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 138
  },
  "hsl": {
    "h": 199.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.50014,
    "c": 0.0817,
    "h": 232.5
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#2A6B8A
secondary
#B4785B
accent
#7A4BDD
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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