#2A3A4E#2A3A4E

#2A3A4E is a dark, muted cyan. Relative luminance 0.041; OKLCH L 34.4% C 0.041 H 254.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2A3A4E
RGBrgb(42, 58, 78)
HSLhsl(213, 30%, 24%)
HSVhsv(213, 46%, 31%)
CMYKcmyk(46.2%, 25.6%, 0%, 69.4%)
CIE-LABlab(23.90, -0.36, -14.24)
CIE-LCHlch(23.90, 14.24, 268.56°)
OKLaboklab(34.36% -0.0111 -0.0396)
OKLCHoklch(34.36% 0.041 254.4)
XYZxyz(3.8426, 4.0682, 7.7890)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A4E #4E3E2A
analogous
#2A4C4E #2A3A4E #2C2A4E
triadic
#2A3A4E #4E2A3A #3A4E2A
tetradic
#2A3A4E #4E2A4C #4E3E2A #2A4E2C
square
#2A3A4E #4E2A4C #4E3E2A #2A4E2C
split-complementary
#2A3A4E #4E2C2A #4C4E2A
monochromatic
#0B0F14 #151C26 #2A3A4E #3F5876 #55759E

Accessibility & contrast

On white

11.58
#2A3A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2A3A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A4E
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A4E#FFFFFF#000000##FFFFFF
##2A3A4E1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B4F
Deuteranopia (green-blind)
#2E374E
Tritanopia (blue-blind)
#1D3E41
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3a4e;
/* rgb */ color: rgb(42, 58, 78);
/* oklch */ color: oklch(34.4% 0.041 254.4);
Tailwind
colors: {
  custom: {
    50: '#65707f',
    500: '#2a3a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a4e;
$custom-light: #65707f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a4e",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 213.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3436,
    "c": 0.04109,
    "h": 254.4
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#2A3A4E
secondary
#806C54
accent
#9962C6
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2A3A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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