#2A466E#2A466E

#2A466E is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.2% C 0.076 H 257.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2A466E
RGBrgb(42, 70, 110)
HSLhsl(215, 45%, 30%)
HSVhsv(215, 62%, 43%)
CMYKcmyk(61.8%, 36.4%, 0%, 56.9%)
CIE-LABlab(29.41, 2.91, -26.35)
CIE-LCHlch(29.41, 26.51, 276.30°)
OKLaboklab(39.21% -0.0167 -0.0745)
OKLCHoklch(39.21% 0.076 257.4)
XYZxyz(5.9585, 5.9978, 15.5925)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A466E #6E522A
analogous
#2A686E #2A466E #302A6E
triadic
#2A466E #6E2A46 #466E2A
tetradic
#2A466E #6E2A68 #6E522A #2A6E30
square
#2A466E #6E2A68 #6E522A #2A6E30
split-complementary
#2A466E #6E302A #686E2A
monochromatic
#080E16 #192A42 #2A466E #3B629A #5580BE

Accessibility & contrast

On white

9.55
#2A466E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A466E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A466E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A466E#FFFFFF#000000##FFFFFF
##2A466E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354970
Deuteranopia (green-blind)
#2C426D
Tritanopia (blue-blind)
#004F55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a466e;
/* rgb */ color: rgb(42, 70, 110);
/* oklch */ color: oklch(39.2% 0.076 257.4);
Tailwind
colors: {
  custom: {
    50: '#6a7998',
    500: '#2a466e',
    950: '#000000',
  },
}
SCSS
$custom: #2a466e;
$custom-light: #6a7998;
$custom-dark: #000000;
JSON
{
  "hex": "#2a466e",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 110
  },
  "hsl": {
    "h": 215.294,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.07635,
    "h": 257.4
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#2A466E
secondary
#A08154
accent
#9F53D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2A466E

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

Preview Lab → · Contrast checker → · Palette generator →

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