#2A6899#2A6899

#2A6899 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.1% C 0.101 H 245.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2A6899
RGBrgb(42, 104, 153)
HSLhsl(206, 57%, 38%)
HSVhsv(206, 73%, 60%)
CMYKcmyk(72.5%, 32%, 0%, 40%)
CIE-LABlab(42.29, -2.88, -32.42)
CIE-LCHlch(42.29, 32.55, 264.92°)
OKLaboklab(50.07% -0.0414 -0.0918)
OKLCHoklch(50.07% 0.101 245.7)
XYZxyz(11.6527, 12.6915, 31.9664)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6899 #995B2A
analogous
#2A9992 #2A6899 #2A3199
triadic
#2A6899 #992A68 #68992A
tetradic
#2A6899 #922A99 #995B2A #31992A
square
#2A6899 #922A99 #995B2A #31992A
split-complementary
#2A6899 #992A31 #99922A
monochromatic
#102739 #1D4769 #2A6899 #3889C8 #68A5D6

Accessibility & contrast

On white

5.93
#2A6899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2A6899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6899
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6899#FFFFFF#000000##FFFFFF
##2A68991.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a6899;
/* rgb */ color: rgb(42, 104, 153);
/* oklch */ color: oklch(50.1% 0.101 245.7);
Tailwind
colors: {
  custom: {
    50: '#7292b7',
    500: '#2a6899',
    950: '#000000',
  },
}
SCSS
$custom: #2a6899;
$custom-light: #7292b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6899",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 153
  },
  "hsl": {
    "h": 206.486,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.10072,
    "h": 245.7
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#2A6899
secondary
#BC8A63
accent
#8B48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #2A6899

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

Preview Lab → · Contrast checker → · Palette generator →

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