#2A427D#2A427D

#2A427D is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.104 H 265.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2A427D
RGBrgb(42, 66, 125)
HSLhsl(223, 50%, 33%)
HSVhsv(223, 66%, 49%)
CMYKcmyk(66.4%, 47.2%, 0%, 51%)
CIE-LABlab(29.08, 11.24, -36.31)
CIE-LCHlch(29.08, 38.01, 287.20°)
OKLaboklab(39.25% -0.0086 -0.1038)
OKLCHoklch(39.25% 0.104 265.3)
XYZxyz(6.6034, 5.8687, 20.1828)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A427D #7D652A
analogous
#2A6B7D #2A427D #3C2A7D
triadic
#2A427D #7D2A42 #427D2A
tetradic
#2A427D #7D2A6B #7D652A #2A7D3C
square
#2A427D #7D2A6B #7D652A #2A7D3C
split-complementary
#2A427D #7D3C2A #6B7D2A
monochromatic
#0B1221 #1B2A4F #2A427D #395AAB #5A7AC8

Accessibility & contrast

On white

9.66
#2A427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A427D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A427D#FFFFFF#000000##FFFFFF
##2A427D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25497F
Deuteranopia (green-blind)
#17417C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a427d;
/* rgb */ color: rgb(42, 66, 125);
/* oklch */ color: oklch(39.3% 0.104 265.3);
Tailwind
colors: {
  custom: {
    50: '#6d76a3',
    500: '#2a427d',
    950: '#000000',
  },
}
SCSS
$custom: #2a427d;
$custom-light: #6d76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a427d",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 222.651,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3925,
    "c": 0.10411,
    "h": 265.3
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#2A427D
secondary
#AD9456
accent
#B14FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #2A427D

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

Preview Lab → · Contrast checker → · Palette generator →

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