#2A466F#2A466F

#2A466F is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.078 H 257.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2A466F
RGBrgb(42, 70, 111)
HSLhsl(216, 45%, 30%)
HSVhsv(216, 62%, 44%)
CMYKcmyk(62.2%, 36.9%, 0%, 56.5%)
CIE-LABlab(29.46, 3.27, -26.89)
CIE-LCHlch(29.46, 27.09, 276.94°)
OKLaboklab(39.27% -0.0164 -0.0761)
OKLCHoklch(39.27% 0.078 257.8)
XYZxyz(6.0132, 6.0197, 15.8809)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A466F #6F532A
analogous
#2A696F #2A466F #302A6F
triadic
#2A466F #6F2A46 #466F2A
tetradic
#2A466F #6F2A69 #6F532A #2A6F30
square
#2A466F #6F2A69 #6F532A #2A6F30
split-complementary
#2A466F #6F302A #696F2A
monochromatic
#080E16 #192A43 #2A466F #3B629B #5580BF

Accessibility & contrast

On white

9.53
#2A466F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A466F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A466F#FFFFFF#000000##FFFFFF
##2A466F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a466f;
/* rgb */ color: rgb(42, 70, 111);
/* oklch */ color: oklch(39.3% 0.078 257.8);
Tailwind
colors: {
  custom: {
    50: '#6a7998',
    500: '#2a466f',
    950: '#000000',
  },
}
SCSS
$custom: #2a466f;
$custom-light: #6a7998;
$custom-dark: #000000;
JSON
{
  "hex": "#2a466f",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 111
  },
  "hsl": {
    "h": 215.652,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.39272,
    "c": 0.07785,
    "h": 257.8
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#2A466F
secondary
#A18254
accent
#A053D5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2A466F

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

Preview Lab → · Contrast checker → · Palette generator →

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