#2A467E#2A467E

#2A467E is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.100 H 262.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2A467E
RGBrgb(42, 70, 126)
HSLhsl(220, 50%, 33%)
HSVhsv(220, 67%, 49%)
CMYKcmyk(66.7%, 44.4%, 0%, 50.6%)
CIE-LABlab(30.35, 8.90, -34.91)
CIE-LCHlch(30.35, 36.03, 284.31°)
OKLaboklab(40.25% -0.0127 -0.0996)
OKLCHoklch(40.25% 0.1 262.7)
XYZxyz(6.9096, 6.3783, 20.6016)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A467E #7E622A
analogous
#2A707E #2A467E #382A7E
triadic
#2A467E #7E2A46 #467E2A
tetradic
#2A467E #7E2A70 #7E622A #2A7E38
square
#2A467E #7E2A70 #7E622A #2A7E38
split-complementary
#2A467E #7E382A #707E2A
monochromatic
#0B1322 #1B2C50 #2A467E #395FAC #5A7FC8

Accessibility & contrast

On white

9.23
#2A467E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A467E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A467E#FFFFFF#000000##FFFFFF
##2A467E1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a467e;
/* rgb */ color: rgb(42, 70, 126);
/* oklch */ color: oklch(40.2% 0.100 262.7);
Tailwind
colors: {
  custom: {
    50: '#6d79a4',
    500: '#2a467e',
    950: '#000000',
  },
}
SCSS
$custom: #2a467e;
$custom-light: #6d79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a467e",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 126
  },
  "hsl": {
    "h": 220,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40246,
    "c": 0.10038,
    "h": 262.7
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#2A467E
secondary
#AE9056
accent
#AB4EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #2A467E

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

Preview Lab → · Contrast checker → · Palette generator →

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