#2A6284#2A6284

#2A6284 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.4% C 0.080 H 238.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2A6284
RGBrgb(42, 98, 132)
HSLhsl(203, 52%, 34%)
HSVhsv(203, 68%, 52%)
CMYKcmyk(68.2%, 25.8%, 0%, 48.2%)
CIE-LABlab(39.40, -6.86, -24.33)
CIE-LCHlch(39.40, 25.28, 254.25°)
OKLaboklab(47.44% -0.0421 -0.0684)
OKLCHoklch(47.44% 0.08 238.4)
XYZxyz(9.4858, 10.8926, 23.4279)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6284 #844C2A
analogous
#2A8479 #2A6284 #2A3584
triadic
#2A6284 #842A62 #62842A
tetradic
#2A6284 #792A84 #844C2A #35842A
square
#2A6284 #792A84 #844C2A #35842A
split-complementary
#2A6284 #842A35 #84792A
monochromatic
#0C1D27 #1B4056 #2A6284 #3984B2 #5DA2CB

Accessibility & contrast

On white

6.61
#2A6284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2A6284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6284
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6284#FFFFFF#000000##FFFFFF
##2A62841.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526286
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#006B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6284;
/* rgb */ color: rgb(42, 98, 132);
/* oklch */ color: oklch(47.4% 0.080 238.4);
Tailwind
colors: {
  custom: {
    50: '#6e8ea8',
    500: '#2a6284',
    950: '#000000',
  },
}
SCSS
$custom: #2a6284;
$custom-light: #6e8ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6284",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 132
  },
  "hsl": {
    "h": 202.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4744,
    "c": 0.08031,
    "h": 238.4
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#2A6284
secondary
#B17A59
accent
#824DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A6284

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

Preview Lab → · Contrast checker → · Palette generator →

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