#2A6793#2A6793

#2A6793 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.5% C 0.094 H 243.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2A6793
RGBrgb(42, 103, 147)
HSLhsl(205, 56%, 37%)
HSVhsv(205, 71%, 58%)
CMYKcmyk(71.4%, 29.9%, 0%, 42.4%)
CIE-LABlab(41.69, -4.47, -29.79)
CIE-LCHlch(41.69, 30.13, 261.46°)
OKLaboklab(49.49% -0.0423 -0.0842)
OKLCHoklch(49.49% 0.094 243.3)
XYZxyz(11.0695, 12.2981, 29.3885)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6793 #93562A
analogous
#2A938B #2A6793 #2A3293
triadic
#2A6793 #932A67 #67932A
tetradic
#2A6793 #8B2A93 #93562A #32932A
square
#2A6793 #8B2A93 #93562A #32932A
split-complementary
#2A6793 #932A32 #938B2A
monochromatic
#0F2434 #1C4663 #2A6793 #3888C3 #65A5D3

Accessibility & contrast

On white

6.07
#2A6793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2A6793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6793
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6793#FFFFFF#000000##FFFFFF
##2A67931.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6793;
/* rgb */ color: rgb(42, 103, 147);
/* oklch */ color: oklch(49.5% 0.094 243.3);
Tailwind
colors: {
  custom: {
    50: '#7192b3',
    500: '#2a6793',
    950: '#000000',
  },
}
SCSS
$custom: #2a6793;
$custom-light: #7192b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6793",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 147
  },
  "hsl": {
    "h": 205.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.09421,
    "h": 243.3
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#2A6793
secondary
#B98560
accent
#8849DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #2A6793

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

Preview Lab → · Contrast checker → · Palette generator →

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