#2A447F#2A447F

#2A447F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.104 H 264.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2A447F
RGBrgb(42, 68, 127)
HSLhsl(222, 50%, 33%)
HSVhsv(222, 67%, 50%)
CMYKcmyk(66.9%, 46.5%, 0%, 50.2%)
CIE-LABlab(29.81, 10.64, -36.39)
CIE-LCHlch(29.81, 37.92, 286.30°)
OKLaboklab(39.85% -0.0104 -0.104)
OKLCHoklch(39.85% 0.104 264.3)
XYZxyz(6.8514, 6.1582, 20.9021)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A447F #7F652A
analogous
#2A6E7F #2A447F #3A2A7F
triadic
#2A447F #7F2A44 #447F2A
tetradic
#2A447F #7F2A6E #7F652A #2A7F3A
square
#2A447F #7F2A6E #7F652A #2A7F3A
split-complementary
#2A447F #7F3A2A #6E7F2A
monochromatic
#0C1323 #1B2B51 #2A447F #395DAD #5B7CC9

Accessibility & contrast

On white

9.41
#2A447F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A447F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A447F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A447F#FFFFFF#000000##FFFFFF
##2A447F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A81
Deuteranopia (green-blind)
#19437E
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a447f;
/* rgb */ color: rgb(42, 68, 127);
/* oklch */ color: oklch(39.9% 0.104 264.3);
Tailwind
colors: {
  custom: {
    50: '#6d77a4',
    500: '#2a447f',
    950: '#000000',
  },
}
SCSS
$custom: #2a447f;
$custom-light: #6d77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a447f",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 127
  },
  "hsl": {
    "h": 221.647,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39852,
    "c": 0.10449,
    "h": 264.3
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#2A447F
secondary
#AE9357
accent
#AF4EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A447F

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

Preview Lab → · Contrast checker → · Palette generator →

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