#2F4973#2F4973

#2F4973 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.5% C 0.078 H 259.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2F4973
RGBrgb(47, 73, 115)
HSLhsl(217, 42%, 32%)
HSVhsv(217, 59%, 45%)
CMYKcmyk(59.1%, 36.5%, 0%, 54.9%)
CIE-LABlab(30.89, 3.88, -27.14)
CIE-LCHlch(30.89, 27.42, 278.14°)
OKLaboklab(40.53% -0.0141 -0.0767)
OKLCHoklch(40.53% 0.078 259.6)
XYZxyz(6.6483, 6.6067, 17.1412)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4973 #73592F
analogous
#2F6B73 #2F4973 #372F73
triadic
#2F4973 #732F49 #49732F
tetradic
#2F4973 #732F6B #73592F #2F7337
square
#2F4973 #732F6B #73592F #2F7337
split-complementary
#2F4973 #73372F #6B732F
monochromatic
#0B121C #1D2D48 #2F4973 #41659E #5F83BE

Accessibility & contrast

On white

9.05
#2F4973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F4973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4973
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4973#FFFFFF#000000##FFFFFF
##2F49731.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C75
Deuteranopia (green-blind)
#2F4672
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4973;
/* rgb */ color: rgb(47, 73, 115);
/* oklch */ color: oklch(40.5% 0.078 259.6);
Tailwind
colors: {
  custom: {
    50: '#6d7b9b',
    500: '#2f4973',
    950: '#000000',
  },
}
SCSS
$custom: #2f4973;
$custom-light: #6d7b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4973",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 115
  },
  "hsl": {
    "h": 217.059,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40533,
    "c": 0.07798,
    "h": 259.6
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#2F4973
secondary
#A4885A
accent
#A256D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2F4973

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

Preview Lab → · Contrast checker → · Palette generator →

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