#2A467F#2A467F

#2A467F is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.102 H 262.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2A467F
RGBrgb(42, 70, 127)
HSLhsl(220, 50%, 33%)
HSVhsv(220, 67%, 50%)
CMYKcmyk(66.9%, 44.9%, 0%, 50.2%)
CIE-LABlab(30.41, 9.28, -35.43)
CIE-LCHlch(30.41, 36.63, 284.68°)
OKLaboklab(40.32% -0.0125 -0.1011)
OKLCHoklch(40.32% 0.102 262.9)
XYZxyz(6.9744, 6.4042, 20.9431)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A467F #7F632A
analogous
#2A707F #2A467F #382A7F
triadic
#2A467F #7F2A46 #467F2A
tetradic
#2A467F #7F2A70 #7F632A #2A7F38
square
#2A467F #7F2A70 #7F632A #2A7F38
split-complementary
#2A467F #7F382A #707F2A
monochromatic
#0C1323 #1B2D51 #2A467F #395FAD #5B7FC9

Accessibility & contrast

On white

9.21
#2A467F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2A467F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A467F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A467F#FFFFFF#000000##FFFFFF
##2A467F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#1E447E
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a467f;
/* rgb */ color: rgb(42, 70, 127);
/* oklch */ color: oklch(40.3% 0.102 262.9);
Tailwind
colors: {
  custom: {
    50: '#6d79a4',
    500: '#2a467f',
    950: '#000000',
  },
}
SCSS
$custom: #2a467f;
$custom-light: #6d79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a467f",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 127
  },
  "hsl": {
    "h": 220.235,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40315,
    "c": 0.10188,
    "h": 262.9
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#2A467F
secondary
#AE9157
accent
#AC4EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2A467F

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

Preview Lab → · Contrast checker → · Palette generator →

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