#2A538C#2A538C

#2A538C is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.105 H 257.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2A538C
RGBrgb(42, 83, 140)
HSLhsl(215, 54%, 36%)
HSVhsv(215, 70%, 55%)
CMYKcmyk(70%, 40.7%, 0%, 45.1%)
CIE-LABlab(35.15, 5.57, -35.89)
CIE-LCHlch(35.15, 36.32, 278.82°)
OKLaboklab(44.24% -0.0234 -0.1023)
OKLCHoklch(44.24% 0.105 257.1)
XYZxyz(8.7800, 8.5713, 25.9976)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A538C #8C632A
analogous
#2A848C #2A538C #322A8C
triadic
#2A538C #8C2A53 #538C2A
tetradic
#2A538C #8C2A84 #8C632A #2A8C32
square
#2A538C #8C2A84 #8C632A #2A8C32
split-complementary
#2A538C #8C322A #848C2A
monochromatic
#0E1B2E #1C375D #2A538C #386FBB #618FD0

Accessibility & contrast

On white

7.74
#2A538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A538C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A538C#FFFFFF#000000##FFFFFF
##2A538C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588E
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a538c;
/* rgb */ color: rgb(42, 83, 140);
/* oklch */ color: oklch(44.2% 0.105 257.1);
Tailwind
colors: {
  custom: {
    50: '#6f82ae',
    500: '#2a538c',
    950: '#000000',
  },
}
SCSS
$custom: #2a538c;
$custom-light: #6f82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a538c",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 214.898,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44236,
    "c": 0.10492,
    "h": 257.1
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#2A538C
secondary
#B5905C
accent
#A04BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A538C

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

Preview Lab → · Contrast checker → · Palette generator →

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