#2A436B#2A436B

#2A436B is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.3% C 0.075 H 259.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2A436B
RGBrgb(42, 67, 107)
HSLhsl(217, 44%, 29%)
HSVhsv(217, 61%, 42%)
CMYKcmyk(60.7%, 37.4%, 0%, 58%)
CIE-LABlab(28.29, 3.81, -26.20)
CIE-LCHlch(28.29, 26.47, 278.27°)
OKLaboklab(38.29% -0.0138 -0.0741)
OKLCHoklch(38.29% 0.075 259.4)
XYZxyz(5.6149, 5.5676, 14.6858)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A436B #6B522A
analogous
#2A646B #2A436B #322A6B
triadic
#2A436B #6B2A43 #436B2A
tetradic
#2A436B #6B2A64 #6B522A #2A6B32
square
#2A436B #6B2A64 #6B522A #2A6B32
split-complementary
#2A436B #6B322A #646B2A
monochromatic
#090E16 #19273F #2A436B #3B5F97 #547CBC

Accessibility & contrast

On white

9.94
#2A436B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A436B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A436B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A436B#FFFFFF#000000##FFFFFF
##2A436B1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#2A406A
Tritanopia (blue-blind)
#004C52
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a436b;
/* rgb */ color: rgb(42, 67, 107);
/* oklch */ color: oklch(38.3% 0.075 259.4);
Tailwind
colors: {
  custom: {
    50: '#697695',
    500: '#2a436b',
    950: '#000000',
  },
}
SCSS
$custom: #2a436b;
$custom-light: #697695;
$custom-dark: #000000;
JSON
{
  "hex": "#2a436b",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 107
  },
  "hsl": {
    "h": 216.923,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3829,
    "c": 0.07539,
    "h": 259.4
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#2A436B
secondary
#9D8154
accent
#A354D3
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2A436B

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

Preview Lab → · Contrast checker → · Palette generator →

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