#2A456D#2A456D

#2A456D is a dark, moderate blue. Relative luminance 0.059; OKLCH L 38.9% C 0.076 H 258.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2A456D
RGBrgb(42, 69, 109)
HSLhsl(216, 44%, 30%)
HSVhsv(216, 61%, 43%)
CMYKcmyk(61.5%, 36.7%, 0%, 57.3%)
CIE-LABlab(29.04, 3.20, -26.30)
CIE-LCHlch(29.04, 26.49, 276.95°)
OKLaboklab(38.9% -0.0157 -0.0744)
OKLCHoklch(38.9% 0.076 258.1)
XYZxyz(5.8423, 5.8521, 15.2867)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A456D #6D522A
analogous
#2A676D #2A456D #312A6D
triadic
#2A456D #6D2A45 #456D2A
tetradic
#2A456D #6D2A67 #6D522A #2A6D31
square
#2A456D #6D2A67 #6D522A #2A6D31
split-complementary
#2A456D #6D312A #676D2A
monochromatic
#090E16 #192941 #2A456D #3B6199 #547FBD

Accessibility & contrast

On white

9.67
#2A456D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A456D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A456D
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A456D#FFFFFF#000000##FFFFFF
##2A456D1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34486F
Deuteranopia (green-blind)
#2C426C
Tritanopia (blue-blind)
#004E54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a456d;
/* rgb */ color: rgb(42, 69, 109);
/* oklch */ color: oklch(38.9% 0.076 258.1);
Tailwind
colors: {
  custom: {
    50: '#6a7897',
    500: '#2a456d',
    950: '#000000',
  },
}
SCSS
$custom: #2a456d;
$custom-light: #6a7897;
$custom-dark: #000000;
JSON
{
  "hex": "#2a456d",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 109
  },
  "hsl": {
    "h": 215.821,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38904,
    "c": 0.07603,
    "h": 258.1
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#2A456D
secondary
#9F8154
accent
#A054D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2A456D

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

Preview Lab → · Contrast checker → · Palette generator →

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