#2A538F#2A538F

#2A538F is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.4% C 0.109 H 258.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2A538F
RGBrgb(42, 83, 143)
HSLhsl(216, 55%, 36%)
HSVhsv(216, 71%, 56%)
CMYKcmyk(70.6%, 42%, 0%, 43.9%)
CIE-LABlab(35.32, 6.71, -37.44)
CIE-LCHlch(35.32, 38.04, 280.16°)
OKLaboklab(44.43% -0.0227 -0.1068)
OKLCHoklch(44.43% 0.109 258)
XYZxyz(9.0042, 8.6610, 27.1785)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A538F #8F662A
analogous
#2A868F #2A538F #342A8F
triadic
#2A538F #8F2A53 #538F2A
tetradic
#2A538F #8F2A86 #8F662A #2A8F34
square
#2A538F #8F2A86 #8F662A #2A8F34
split-complementary
#2A538F #8F342A #868F2A
monochromatic
#0E1C30 #1C3860 #2A538F #386EBE #628FD1

Accessibility & contrast

On white

7.69
#2A538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2A538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A538F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A538F#FFFFFF#000000##FFFFFF
##2A538F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#274F8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a538f;
/* rgb */ color: rgb(42, 83, 143);
/* oklch */ color: oklch(44.4% 0.109 258.0);
Tailwind
colors: {
  custom: {
    50: '#7082b0',
    500: '#2a538f',
    950: '#000000',
  },
}
SCSS
$custom: #2a538f;
$custom-light: #7082b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a538f",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 215.644,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.10919,
    "h": 258
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#2A538F
secondary
#B7935E
accent
#A24ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A538F

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

Preview Lab → · Contrast checker → · Palette generator →

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