#2A627F#2A627F

#2A627F is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.2% C 0.075 H 234.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2A627F
RGBrgb(42, 98, 127)
HSLhsl(200, 50%, 33%)
HSVhsv(200, 67%, 50%)
CMYKcmyk(66.9%, 22.8%, 0%, 50.2%)
CIE-LABlab(39.17, -8.64, -21.64)
CIE-LCHlch(39.17, 23.30, 248.24°)
OKLaboklab(47.19% -0.0439 -0.0607)
OKLCHoklch(47.19% 0.075 234.1)
XYZxyz(9.1518, 10.7590, 21.6689)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A627F #7F472A
analogous
#2A7F71 #2A627F #2A377F
triadic
#2A627F #7F2A62 #627F2A
tetradic
#2A627F #712A7F #7F472A #377F2A
square
#2A627F #712A7F #7F472A #377F2A
split-complementary
#2A627F #7F2A37 #7F712A
monochromatic
#0C1B23 #1B3F51 #2A627F #3985AD #5BA3C9

Accessibility & contrast

On white

6.66
#2A627F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2A627F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A627F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A627F#FFFFFF#000000##FFFFFF
##2A627F1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546180
Deuteranopia (green-blind)
#48587F
Tritanopia (blue-blind)
#006A6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a627f;
/* rgb */ color: rgb(42, 98, 127);
/* oklch */ color: oklch(47.2% 0.075 234.1);
Tailwind
colors: {
  custom: {
    50: '#6d8ea4',
    500: '#2a627f',
    950: '#000000',
  },
}
SCSS
$custom: #2a627f;
$custom-light: #6d8ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a627f",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 127
  },
  "hsl": {
    "h": 200.471,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.0749,
    "h": 234.1
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#2A627F
secondary
#AE7457
accent
#7E4EDA
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A627F

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

Preview Lab → · Contrast checker → · Palette generator →

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