#2A538B#2A538B

#2A538B is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.2% C 0.103 H 256.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2A538B
RGBrgb(42, 83, 139)
HSLhsl(215, 54%, 35%)
HSVhsv(215, 70%, 55%)
CMYKcmyk(69.8%, 40.3%, 0%, 45.5%)
CIE-LABlab(35.09, 5.19, -35.38)
CIE-LCHlch(35.09, 35.76, 278.35°)
OKLaboklab(44.17% -0.0237 -0.1008)
OKLCHoklch(44.17% 0.103 256.8)
XYZxyz(8.7066, 8.5419, 25.6110)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A538B #8B622A
analogous
#2A838B #2A538B #312A8B
triadic
#2A538B #8B2A53 #538B2A
tetradic
#2A538B #8B2A83 #8B622A #2A8B31
square
#2A538B #8B2A83 #8B622A #2A8B31
split-complementary
#2A538B #8B312A #838B2A
monochromatic
#0E1B2D #1C375C #2A538B #386FBA #608FCF

Accessibility & contrast

On white

7.75
#2A538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A538B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A538B#FFFFFF#000000##FFFFFF
##2A538B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a538b;
/* rgb */ color: rgb(42, 83, 139);
/* oklch */ color: oklch(44.2% 0.103 256.8);
Tailwind
colors: {
  custom: {
    50: '#6f83ad',
    500: '#2a538b',
    950: '#000000',
  },
}
SCSS
$custom: #2a538b;
$custom-light: #6f83ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a538b",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 214.639,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44171,
    "c": 0.10349,
    "h": 256.8
  },
  "luminance": 0.08543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A538B

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

Preview Lab → · Contrast checker → · Palette generator →

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