#2A467C#2A467C

#2A467C is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.097 H 262.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2A467C
RGBrgb(42, 70, 124)
HSLhsl(220, 49%, 33%)
HSVhsv(220, 66%, 49%)
CMYKcmyk(66.1%, 43.5%, 0%, 51.4%)
CIE-LABlab(30.22, 8.14, -33.86)
CIE-LCHlch(30.22, 34.82, 283.52°)
OKLaboklab(40.11% -0.0131 -0.0965)
OKLCHoklch(40.11% 0.097 262.2)
XYZxyz(6.7818, 6.3272, 19.9287)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A467C #7C602A
analogous
#2A6F7C #2A467C #372A7C
triadic
#2A467C #7C2A46 #467C2A
tetradic
#2A467C #7C2A6F #7C602A #2A7C37
square
#2A467C #7C2A6F #7C602A #2A7C37
split-complementary
#2A467C #7C372A #6F7C2A
monochromatic
#0B1221 #1B2C4E #2A467C #3960AA #597FC7

Accessibility & contrast

On white

9.27
#2A467C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2A467C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A467C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A467C#FFFFFF#000000##FFFFFF
##2A467C1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7E
Deuteranopia (green-blind)
#21447B
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a467c;
/* rgb */ color: rgb(42, 70, 124);
/* oklch */ color: oklch(40.1% 0.097 262.2);
Tailwind
colors: {
  custom: {
    50: '#6c79a2',
    500: '#2a467c',
    950: '#000000',
  },
}
SCSS
$custom: #2a467c;
$custom-light: #6c79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a467c",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 124
  },
  "hsl": {
    "h": 219.512,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4011,
    "c": 0.09738,
    "h": 262.2
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#2A467C
secondary
#AD8F55
accent
#AA4FD9
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #2A467C

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

Preview Lab → · Contrast checker → · Palette generator →

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