#2A4E5B#2A4E5B

#2A4E5B is a dark, muted cyan. Relative luminance 0.067; OKLCH L 40.3% C 0.047 H 223.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2A4E5B
RGBrgb(42, 78, 91)
HSLhsl(196, 37%, 26%)
HSVhsv(196, 54%, 36%)
CMYKcmyk(53.8%, 14.3%, 0%, 64.3%)
CIE-LABlab(31.10, -8.86, -11.64)
CIE-LCHlch(31.10, 14.62, 232.71°)
OKLaboklab(40.25% -0.034 -0.0322)
OKLCHoklch(40.25% 0.047 223.5)
XYZxyz(5.5669, 6.6959, 10.8946)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E5B #5B372A
analogous
#2A5B4F #2A4E5B #2A355B
triadic
#2A4E5B #5B2A4E #4E5B2A
tetradic
#2A4E5B #4F2A5B #5B372A #355B2A
square
#2A4E5B #4F2A5B #5B372A #355B2A
split-complementary
#2A4E5B #5B2A35 #5B4F2A
monochromatic
#0A1215 #172A31 #2A4E5B #3D7285 #5196AF

Accessibility & contrast

On white

8.98
#2A4E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A4E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E5B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E5B#FFFFFF#000000##FFFFFF
##2A4E5B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C5C
Deuteranopia (green-blind)
#3F475B
Tritanopia (blue-blind)
#0E5252
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4e5b;
/* rgb */ color: rgb(42, 78, 91);
/* oklch */ color: oklch(40.3% 0.047 223.5);
Tailwind
colors: {
  custom: {
    50: '#677f89',
    500: '#2a4e5b',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e5b;
$custom-light: #677f89;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e5b",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 91
  },
  "hsl": {
    "h": 195.918,
    "s": 36.842,
    "l": 26.078
  },
  "oklch": {
    "l": 0.40252,
    "c": 0.04683,
    "h": 223.5
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#2A4E5B
secondary
#8D6353
accent
#795BCD
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0B
muted
#7A7C7C

Preview Lab

Preview with #2A4E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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