#2A4366#2A4366

#2A4366 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.0% C 0.068 H 257.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2A4366
RGBrgb(42, 67, 102)
HSLhsl(215, 42%, 28%)
HSVhsv(215, 59%, 40%)
CMYKcmyk(58.8%, 34.3%, 0%, 60%)
CIE-LABlab(28.02, 1.98, -23.43)
CIE-LCHlch(28.02, 23.52, 274.84°)
OKLaboklab(37.99% -0.0153 -0.0661)
OKLCHoklch(37.99% 0.068 257)
XYZxyz(5.3594, 5.4654, 13.3403)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4366 #664D2A
analogous
#2A6166 #2A4366 #2F2A66
triadic
#2A4366 #662A43 #43662A
tetradic
#2A4366 #662A61 #664D2A #2A662F
square
#2A4366 #662A61 #664D2A #2A662F
split-complementary
#2A4366 #662F2A #61662A
monochromatic
#090E16 #18273B #2A4366 #3C5F91 #527DB8

Accessibility & contrast

On white

10.03
#2A4366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A4366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4366
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4366#FFFFFF#000000##FFFFFF
##2A43661.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354567
Deuteranopia (green-blind)
#2D4065
Tritanopia (blue-blind)
#034B50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a4366;
/* rgb */ color: rgb(42, 67, 102);
/* oklch */ color: oklch(38.0% 0.068 257.0);
Tailwind
colors: {
  custom: {
    50: '#697692',
    500: '#2a4366',
    950: '#000000',
  },
}
SCSS
$custom: #2a4366;
$custom-light: #697692;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4366",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 215,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37988,
    "c": 0.06781,
    "h": 257
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#2A4366
secondary
#987C54
accent
#9E56D1
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080D
muted
#7A7B7D

Preview Lab

Preview with #2A4366

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

Preview Lab → · Contrast checker → · Palette generator →

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