#2A6790#2A6790

#2A6790 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.3% C 0.091 H 241.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2A6790
RGBrgb(42, 103, 144)
HSLhsl(204, 55%, 36%)
HSVhsv(204, 71%, 56%)
CMYKcmyk(70.8%, 28.5%, 0%, 43.5%)
CIE-LABlab(41.54, -5.56, -28.22)
CIE-LCHlch(41.54, 28.77, 258.85°)
OKLaboklab(49.32% -0.0433 -0.0796)
OKLCHoklch(49.32% 0.091 241.5)
XYZxyz(10.8372, 12.2052, 28.1648)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6790 #90532A
analogous
#2A9086 #2A6790 #2A3490
triadic
#2A6790 #902A67 #67902A
tetradic
#2A6790 #862A90 #90532A #34902A
square
#2A6790 #862A90 #90532A #34902A
split-complementary
#2A6790 #902A34 #90862A
monochromatic
#0E2331 #1C4561 #2A6790 #3889BF #63A5D1

Accessibility & contrast

On white

6.10
#2A6790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2A6790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6790
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6790#FFFFFF#000000##FFFFFF
##2A67901.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546792
Deuteranopia (green-blind)
#465E8F
Tritanopia (blue-blind)
#007175
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a6790;
/* rgb */ color: rgb(42, 103, 144);
/* oklch */ color: oklch(49.3% 0.091 241.5);
Tailwind
colors: {
  custom: {
    50: '#7092b0',
    500: '#2a6790',
    950: '#000000',
  },
}
SCSS
$custom: #2a6790;
$custom-light: #7092b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6790",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 144
  },
  "hsl": {
    "h": 204.118,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49324,
    "c": 0.09064,
    "h": 241.5
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#2A6790
secondary
#B7825E
accent
#854ADE
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2A6790

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

Preview Lab → · Contrast checker → · Palette generator →

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