#2F4073#2F4073

#2F4073 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.090 H 268.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2F4073
RGBrgb(47, 64, 115)
HSLhsl(225, 42%, 32%)
HSVhsv(225, 59%, 45%)
CMYKcmyk(59.1%, 44.3%, 0%, 54.9%)
CIE-LABlab(28.14, 9.93, -31.51)
CIE-LCHlch(28.14, 33.04, 287.50°)
OKLaboklab(38.4% -0.0029 -0.0896)
OKLCHoklch(38.4% 0.09 268.1)
XYZxyz(6.0992, 5.5085, 16.9582)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4073 #73622F
analogous
#2F6273 #2F4073 #402F73
triadic
#2F4073 #732F40 #40732F
tetradic
#2F4073 #732F62 #73622F #2F7340
square
#2F4073 #732F62 #73622F #2F7340
split-complementary
#2F4073 #73402F #62732F
monochromatic
#0B101C #1D2848 #2F4073 #41589E #5F77BE

Accessibility & contrast

On white

9.99
#2F4073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F4073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4073
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4073#FFFFFF#000000##FFFFFF
##2F40731.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#214072
Tritanopia (blue-blind)
#044B54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f4073;
/* rgb */ color: rgb(47, 64, 115);
/* oklch */ color: oklch(38.4% 0.090 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d749b',
    500: '#2f4073',
    950: '#000000',
  },
}
SCSS
$custom: #2f4073;
$custom-light: #6d749b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4073",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 225,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38401,
    "c": 0.08962,
    "h": 268.1
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#2F4073
secondary
#A4925A
accent
#B356D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2F4073

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

Preview Lab → · Contrast checker → · Palette generator →

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