#2A427A#2A427A

#2A427A is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.100 H 264.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2A427A
RGBrgb(42, 66, 122)
HSLhsl(222, 49%, 32%)
HSVhsv(222, 66%, 48%)
CMYKcmyk(65.6%, 45.9%, 0%, 52.2%)
CIE-LABlab(28.88, 10.10, -34.74)
CIE-LCHlch(28.88, 36.18, 286.21°)
OKLaboklab(39.04% -0.0091 -0.0991)
OKLCHoklch(39.04% 0.1 264.7)
XYZxyz(6.4147, 5.7932, 19.1887)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A427A #7A622A
analogous
#2A6A7A #2A427A #3A2A7A
triadic
#2A427A #7A2A42 #427A2A
tetradic
#2A427A #7A2A6A #7A622A #2A7A3A
square
#2A427A #7A2A6A #7A622A #2A7A3A
split-complementary
#2A427A #7A3A2A #6A7A2A
monochromatic
#0B111F #1A294C #2A427A #3A5BA8 #5979C6

Accessibility & contrast

On white

9.73
#2A427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2A427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A427A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A427A#FFFFFF#000000##FFFFFF
##2A427A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#1B4179
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a427a;
/* rgb */ color: rgb(42, 66, 122);
/* oklch */ color: oklch(39.0% 0.100 264.7);
Tailwind
colors: {
  custom: {
    50: '#6c76a1',
    500: '#2a427a',
    950: '#000000',
  },
}
SCSS
$custom: #2a427a;
$custom-light: #6c76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a427a",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 222,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.09957,
    "h": 264.7
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#2A427A
secondary
#AB9155
accent
#AF4FD8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #2A427A

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

Preview Lab → · Contrast checker → · Palette generator →

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