#2A627C#2A627C

#2A627C is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.0% C 0.072 H 231.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2A627C
RGBrgb(42, 98, 124)
HSLhsl(199, 49%, 33%)
HSVhsv(199, 66%, 49%)
CMYKcmyk(66.1%, 21%, 0%, 51.4%)
CIE-LABlab(39.04, -9.69, -20.02)
CIE-LCHlch(39.04, 22.24, 244.18°)
OKLaboklab(47.04% -0.0451 -0.056)
OKLCHoklch(47.04% 0.072 231.2)
XYZxyz(8.9592, 10.6819, 20.6545)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A627C #7C442A
analogous
#2A7C6D #2A627C #2A397C
triadic
#2A627C #7C2A62 #627C2A
tetradic
#2A627C #6D2A7C #7C442A #397C2A
square
#2A627C #6D2A7C #7C442A #397C2A
split-complementary
#2A627C #7C2A39 #7C6D2A
monochromatic
#0B1A21 #1B3E4E #2A627C #3986AA #59A4C7

Accessibility & contrast

On white

6.70
#2A627C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2A627C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A627C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A627C#FFFFFF#000000##FFFFFF
##2A627C1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617D
Deuteranopia (green-blind)
#4A587C
Tritanopia (blue-blind)
#00696B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a627c;
/* rgb */ color: rgb(42, 98, 124);
/* oklch */ color: oklch(47.0% 0.072 231.2);
Tailwind
colors: {
  custom: {
    50: '#6d8ea2',
    500: '#2a627c',
    950: '#000000',
  },
}
SCSS
$custom: #2a627c;
$custom-light: #6d8ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a627c",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 124
  },
  "hsl": {
    "h": 199.024,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.47036,
    "c": 0.0719,
    "h": 231.2
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#2A627C
secondary
#AD7155
accent
#7B4FD9
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0F
muted
#7B7D7E

Preview Lab

Preview with #2A627C

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

Preview Lab → · Contrast checker → · Palette generator →

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