#2A4475#2A4475

#2A4475 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.089 H 262.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2A4475
RGBrgb(42, 68, 117)
HSLhsl(219, 47%, 31%)
HSVhsv(219, 64%, 46%)
CMYKcmyk(64.1%, 41.9%, 0%, 54.1%)
CIE-LABlab(29.18, 6.85, -31.12)
CIE-LCHlch(29.18, 31.87, 282.42°)
OKLaboklab(39.17% -0.0125 -0.0885)
OKLCHoklch(39.17% 0.089 262)
XYZxyz(6.2317, 5.9103, 17.6386)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4475 #755B2A
analogous
#2A6975 #2A4475 #352A75
triadic
#2A4475 #752A44 #44752A
tetradic
#2A4475 #752A69 #755B2A #2A7535
square
#2A4475 #752A69 #755B2A #2A7535
split-complementary
#2A4475 #75352A #69752A
monochromatic
#0A101B #1A2A48 #2A4475 #3A5EA2 #577CC3

Accessibility & contrast

On white

9.62
#2A4475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2A4475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4475
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4475#FFFFFF#000000##FFFFFF
##2A44751.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4977
Deuteranopia (green-blind)
#244274
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4475;
/* rgb */ color: rgb(42, 68, 117);
/* oklch */ color: oklch(39.2% 0.089 262.0);
Tailwind
colors: {
  custom: {
    50: '#6b779d',
    500: '#2a4475',
    950: '#000000',
  },
}
SCSS
$custom: #2a4475;
$custom-light: #6b779d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4475",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 117
  },
  "hsl": {
    "h": 219.2,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3917,
    "c": 0.08936,
    "h": 262
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#2A4475
secondary
#A78A54
accent
#A851D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4475

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

Preview Lab → · Contrast checker → · Palette generator →

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