#2A6799#2A6799

#2A6799 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.8% C 0.102 H 246.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2A6799
RGBrgb(42, 103, 153)
HSLhsl(207, 57%, 38%)
HSVhsv(207, 73%, 60%)
CMYKcmyk(72.5%, 32.7%, 0%, 40%)
CIE-LABlab(41.99, -2.27, -32.90)
CIE-LCHlch(41.99, 32.98, 266.06°)
OKLaboklab(49.82% -0.0404 -0.0932)
OKLCHoklch(49.82% 0.102 246.6)
XYZxyz(11.5527, 12.4914, 31.9330)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6799 #995C2A
analogous
#2A9993 #2A6799 #2A2F99
triadic
#2A6799 #992A67 #67992A
tetradic
#2A6799 #932A99 #995C2A #2F992A
square
#2A6799 #932A99 #995C2A #2F992A
split-complementary
#2A6799 #992A2F #99932A
monochromatic
#102639 #1D4769 #2A6799 #3887C8 #68A4D6

Accessibility & contrast

On white

6.00
#2A6799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2A6799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6799
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6799#FFFFFF#000000##FFFFFF
##2A67991.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50699B
Deuteranopia (green-blind)
#415E98
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a6799;
/* rgb */ color: rgb(42, 103, 153);
/* oklch */ color: oklch(49.8% 0.102 246.6);
Tailwind
colors: {
  custom: {
    50: '#7292b7',
    500: '#2a6799',
    950: '#000000',
  },
}
SCSS
$custom: #2a6799;
$custom-light: #7292b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6799",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 207.027,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.1016,
    "h": 246.6
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#2A6799
secondary
#BC8B63
accent
#8C48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2A6799

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

Preview Lab → · Contrast checker → · Palette generator →

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