#2A47AF#2A47AF

#2A47AF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.169 H 267.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2A47AF
RGBrgb(42, 71, 175)
HSLhsl(227, 61%, 43%)
HSVhsv(227, 76%, 69%)
CMYKcmyk(76%, 59.4%, 0%, 31.4%)
CIE-LABlab(34.18, 26.97, -58.54)
CIE-LCHlch(34.18, 64.45, 294.74°)
OKLaboklab(44.27% -0.0085 -0.169)
OKLCHoklch(44.27% 0.169 267.1)
XYZxyz(10.9432, 8.0927, 41.5344)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47AF #AF922A
analogous
#2A8AAF #2A47AF #4F2AAF
triadic
#2A47AF #AF2A47 #47AF2A
tetradic
#2A47AF #AF2A8A #AF922A #2AAF4F
square
#2A47AF #AF2A8A #AF922A #2AAF4F
split-complementary
#2A47AF #AF4F2A #8AAF2A
monochromatic
#121F4C #1E337E #2A47AF #4463D2 #758CDE

Accessibility & contrast

On white

8.02
#2A47AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2A47AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A47AF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47AF#FFFFFF#000000##FFFFFF
##2A47AF1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a47af;
/* rgb */ color: rgb(42, 71, 175);
/* oklch */ color: oklch(44.3% 0.169 267.1);
Tailwind
colors: {
  custom: {
    50: '#7879c8',
    500: '#2a47af',
    950: '#000000',
  },
}
SCSS
$custom: #2a47af;
$custom-light: #7879c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47af",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 226.917,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44273,
    "c": 0.16925,
    "h": 267.1
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#2A47AF
secondary
#C6B36F
accent
#C143E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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