#2A538A#2A538A

#2A538A is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.1% C 0.102 H 256.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2A538A
RGBrgb(42, 83, 138)
HSLhsl(214, 53%, 35%)
HSVhsv(214, 70%, 54%)
CMYKcmyk(69.6%, 39.9%, 0%, 45.9%)
CIE-LABlab(35.03, 4.81, -34.86)
CIE-LCHlch(35.03, 35.19, 277.86°)
OKLaboklab(44.11% -0.0239 -0.0992)
OKLCHoklch(44.11% 0.102 256.5)
XYZxyz(8.6339, 8.5129, 25.2280)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A538A #8A612A
analogous
#2A838A #2A538A #312A8A
triadic
#2A538A #8A2A53 #538A2A
tetradic
#2A538A #8A2A83 #8A612A #2A8A31
square
#2A538A #8A2A83 #8A612A #2A8A31
split-complementary
#2A538A #8A312A #838A2A
monochromatic
#0D1B2C #1C375B #2A538A #386FB9 #608FCF

Accessibility & contrast

On white

7.77
#2A538A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A538A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A538A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A538A#FFFFFF#000000##FFFFFF
##2A538A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a538a;
/* rgb */ color: rgb(42, 83, 138);
/* oklch */ color: oklch(44.1% 0.102 256.5);
Tailwind
colors: {
  custom: {
    50: '#6f83ac',
    500: '#2a538a',
    950: '#000000',
  },
}
SCSS
$custom: #2a538a;
$custom-light: #6f83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a538a",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 138
  },
  "hsl": {
    "h": 214.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.10207,
    "h": 256.5
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#2A538A
secondary
#B48E5B
accent
#9F4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A538A

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

Preview Lab → · Contrast checker → · Palette generator →

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