#2A506F#2A506F

#2A506F is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.068 H 245.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2A506F
RGBrgb(42, 80, 111)
HSLhsl(207, 45%, 30%)
HSVhsv(207, 62%, 44%)
CMYKcmyk(62.2%, 27.9%, 0%, 56.5%)
CIE-LABlab(32.65, -3.24, -21.90)
CIE-LCHlch(32.65, 22.13, 261.60°)
OKLaboklab(41.77% -0.0286 -0.0615)
OKLCHoklch(41.77% 0.068 245.1)
XYZxyz(6.6917, 7.3766, 16.1070)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A506F #6F492A
analogous
#2A6F6C #2A506F #2A2D6F
triadic
#2A506F #6F2A50 #506F2A
tetradic
#2A506F #6C2A6F #6F492A #2D6F2A
square
#2A506F #6C2A6F #6F492A #2D6F2A
split-complementary
#2A506F #6F2A2D #6F6C2A
monochromatic
#081016 #193043 #2A506F #3B709B #558FBF

Accessibility & contrast

On white

8.48
#2A506F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2A506F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A506F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A506F#FFFFFF#000000##FFFFFF
##2A506F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435170
Deuteranopia (green-blind)
#394A6E
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a506f;
/* rgb */ color: rgb(42, 80, 111);
/* oklch */ color: oklch(41.8% 0.068 245.1);
Tailwind
colors: {
  custom: {
    50: '#6a8098',
    500: '#2a506f',
    950: '#000000',
  },
}
SCSS
$custom: #2a506f;
$custom-light: #6a8098;
$custom-dark: #000000;
JSON
{
  "hex": "#2a506f",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 111
  },
  "hsl": {
    "h": 206.957,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.06784,
    "h": 245.1
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#2A506F
secondary
#A17654
accent
#8D53D5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A506F

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

Preview Lab → · Contrast checker → · Palette generator →

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