#2A456E#2A456E

#2A456E is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.0% C 0.078 H 258.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2A456E
RGBrgb(42, 69, 110)
HSLhsl(216, 45%, 30%)
HSVhsv(216, 62%, 43%)
CMYKcmyk(61.8%, 37.3%, 0%, 56.9%)
CIE-LABlab(29.09, 3.57, -26.85)
CIE-LCHlch(29.09, 27.08, 277.58°)
OKLaboklab(38.96% -0.0154 -0.076)
OKLCHoklch(38.96% 0.078 258.5)
XYZxyz(5.8965, 5.8738, 15.5718)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A456E #6E532A
analogous
#2A676E #2A456E #312A6E
triadic
#2A456E #6E2A45 #456E2A
tetradic
#2A456E #6E2A67 #6E532A #2A6E31
square
#2A456E #6E2A67 #6E532A #2A6E31
split-complementary
#2A456E #6E312A #676E2A
monochromatic
#080E16 #192942 #2A456E #3B619A #557EBE

Accessibility & contrast

On white

9.66
#2A456E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A456E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A456E#FFFFFF#000000##FFFFFF
##2A456E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#2B426D
Tritanopia (blue-blind)
#004E54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a456e;
/* rgb */ color: rgb(42, 69, 110);
/* oklch */ color: oklch(39.0% 0.078 258.5);
Tailwind
colors: {
  custom: {
    50: '#6a7898',
    500: '#2a456e',
    950: '#000000',
  },
}
SCSS
$custom: #2a456e;
$custom-light: #6a7898;
$custom-dark: #000000;
JSON
{
  "hex": "#2a456e",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 110
  },
  "hsl": {
    "h": 216.176,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.07753,
    "h": 258.5
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#2A456E
secondary
#A08254
accent
#A153D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2A456E

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

Preview Lab → · Contrast checker → · Palette generator →

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