#2A6792#2A6792

#2A6792 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.4% C 0.093 H 242.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2A6792
RGBrgb(42, 103, 146)
HSLhsl(205, 55%, 37%)
HSVhsv(205, 71%, 57%)
CMYKcmyk(71.2%, 29.5%, 0%, 42.7%)
CIE-LABlab(41.64, -4.84, -29.27)
CIE-LCHlch(41.64, 29.67, 260.62°)
OKLaboklab(49.43% -0.0426 -0.0827)
OKLCHoklch(49.43% 0.093 242.7)
XYZxyz(10.9914, 12.2669, 28.9770)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6792 #92552A
analogous
#2A9289 #2A6792 #2A3392
triadic
#2A6792 #922A67 #67922A
tetradic
#2A6792 #892A92 #92552A #33922A
square
#2A6792 #892A92 #92552A #33922A
split-complementary
#2A6792 #922A33 #92892A
monochromatic
#0F2433 #1C4562 #2A6792 #3889C2 #64A5D2

Accessibility & contrast

On white

6.08
#2A6792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2A6792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6792
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6792#FFFFFF#000000##FFFFFF
##2A67921.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536894
Deuteranopia (green-blind)
#455E91
Tritanopia (blue-blind)
#007276
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a6792;
/* rgb */ color: rgb(42, 103, 146);
/* oklch */ color: oklch(49.4% 0.093 242.7);
Tailwind
colors: {
  custom: {
    50: '#7192b2',
    500: '#2a6792',
    950: '#000000',
  },
}
SCSS
$custom: #2a6792;
$custom-light: #7192b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6792",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 146
  },
  "hsl": {
    "h": 204.808,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49432,
    "c": 0.09301,
    "h": 242.7
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#2A6792
secondary
#B8845F
accent
#8749DF
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080D11
muted
#7B7D80

Preview Lab

Preview with #2A6792

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

Preview Lab → · Contrast checker → · Palette generator →

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