#2A628C#2A628C

#2A628C is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 47.9% C 0.090 H 244.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2A628C
RGBrgb(42, 98, 140)
HSLhsl(206, 54%, 36%)
HSVhsv(206, 70%, 55%)
CMYKcmyk(70%, 30%, 0%, 45.1%)
CIE-LABlab(39.78, -3.97, -28.57)
CIE-LCHlch(39.78, 28.85, 262.09°)
OKLaboklab(47.87% -0.0393 -0.0807)
OKLCHoklch(47.87% 0.09 244)
XYZxyz(10.0544, 11.1200, 26.4223)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A628C #8C542A
analogous
#2A8C85 #2A628C #2A318C
triadic
#2A628C #8C2A62 #628C2A
tetradic
#2A628C #852A8C #8C542A #318C2A
square
#2A628C #852A8C #8C542A #318C2A
split-complementary
#2A628C #8C2A31 #8C852A
monochromatic
#0E202E #1C415D #2A628C #3883BB #61A0D0

Accessibility & contrast

On white

6.51
#2A628C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2A628C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A628C
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A628C#FFFFFF#000000##FFFFFF
##2A628C1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F638E
Deuteranopia (green-blind)
#42598B
Tritanopia (blue-blind)
#006C71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a628c;
/* rgb */ color: rgb(42, 98, 140);
/* oklch */ color: oklch(47.9% 0.090 244.0);
Tailwind
colors: {
  custom: {
    50: '#6f8eae',
    500: '#2a628c',
    950: '#000000',
  },
}
SCSS
$custom: #2a628c;
$custom-light: #6f8eae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a628c",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 205.714,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4787,
    "c": 0.08975,
    "h": 244
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#2A628C
secondary
#B5835C
accent
#894BDD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A628C

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

Preview Lab → · Contrast checker → · Palette generator →

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