#2A475F#2A475F

#2A475F is a dark, muted cyan. Relative luminance 0.058; OKLCH L 38.6% C 0.054 H 244.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2A475F
RGBrgb(42, 71, 95)
HSLhsl(207, 39%, 27%)
HSVhsv(207, 56%, 37%)
CMYKcmyk(55.8%, 25.3%, 0%, 62.7%)
CIE-LABlab(28.97, -3.12, -17.48)
CIE-LCHlch(28.97, 17.75, 259.88°)
OKLaboklab(38.61% -0.023 -0.0488)
OKLCHoklch(38.61% 0.054 244.8)
XYZxyz(5.2729, 5.8245, 11.6706)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A475F #5F422A
analogous
#2A5F5D #2A475F #2A2D5F
triadic
#2A475F #5F2A47 #475F2A
tetradic
#2A475F #5D2A5F #5F422A #2D5F2A
square
#2A475F #5D2A5F #5F422A #2D5F2A
split-complementary
#2A475F #5F2A2D #5F5D2A
monochromatic
#091015 #172735 #2A475F #3D6789 #5186B2

Accessibility & contrast

On white

9.70
#2A475F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A475F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A475F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A475F#FFFFFF#000000##FFFFFF
##2A475F1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4760
Deuteranopia (green-blind)
#36425F
Tritanopia (blue-blind)
#0C4D4F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a475f;
/* rgb */ color: rgb(42, 71, 95);
/* oklch */ color: oklch(38.6% 0.054 244.8);
Tailwind
colors: {
  custom: {
    50: '#687a8c',
    500: '#2a475f',
    950: '#000000',
  },
}
SCSS
$custom: #2a475f;
$custom-light: #687a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a475f",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 95
  },
  "hsl": {
    "h": 207.17,
    "s": 38.686,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38613,
    "c": 0.05396,
    "h": 244.8
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#2A475F
secondary
#916F53
accent
#8E59CF
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06090C
muted
#7A7B7D

Preview Lab

Preview with #2A475F

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

Preview Lab → · Contrast checker → · Palette generator →

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