#2A4F6D#2A4F6D

#2A4F6D is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.066 H 244.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2A4F6D
RGBrgb(42, 79, 109)
HSLhsl(207, 44%, 30%)
HSVhsv(207, 61%, 43%)
CMYKcmyk(61.5%, 27.5%, 0%, 57.3%)
CIE-LABlab(32.23, -3.31, -21.29)
CIE-LCHlch(32.23, 21.55, 261.15°)
OKLaboklab(41.41% -0.0281 -0.0598)
OKLCHoklch(41.41% 0.066 244.8)
XYZxyz(6.5101, 7.1877, 15.5093)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4F6D #6D482A
analogous
#2A6D6A #2A4F6D #2A2D6D
triadic
#2A4F6D #6D2A4F #4F6D2A
tetradic
#2A4F6D #6A2A6D #6D482A #2D6D2A
square
#2A4F6D #6A2A6D #6D482A #2D6D2A
split-complementary
#2A4F6D #6D2A2D #6D6A2A
monochromatic
#091016 #192F41 #2A4F6D #3B6F99 #548EBD

Accessibility & contrast

On white

8.62
#2A4F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A4F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4F6D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4F6D#FFFFFF#000000##FFFFFF
##2A4F6D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42506E
Deuteranopia (green-blind)
#39496C
Tritanopia (blue-blind)
#005659
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4f6d;
/* rgb */ color: rgb(42, 79, 109);
/* oklch */ color: oklch(41.4% 0.066 244.8);
Tailwind
colors: {
  custom: {
    50: '#6a8097',
    500: '#2a4f6d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4f6d;
$custom-light: #6a8097;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4f6d",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 109
  },
  "hsl": {
    "h": 206.866,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41409,
    "c": 0.06605,
    "h": 244.8
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#2A4F6D
secondary
#9F7554
accent
#8D54D4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A4F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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