#2F447E#2F447E

#2F447E is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.101 H 266.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2F447E
RGBrgb(47, 68, 126)
HSLhsl(224, 46%, 34%)
HSVhsv(224, 63%, 49%)
CMYKcmyk(62.7%, 46%, 0%, 50.6%)
CIE-LABlab(30.02, 11.26, -35.41)
CIE-LCHlch(30.02, 37.16, 287.64°)
OKLaboklab(40.07% -0.0055 -0.101)
OKLCHoklch(40.07% 0.101 266.9)
XYZxyz(7.0040, 6.2443, 20.5708)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F447E #7E692F
analogous
#2F6C7E #2F447E #422F7E
triadic
#2F447E #7E2F44 #447E2F
tetradic
#2F447E #7E2F6C #7E692F #2F7E42
square
#2F447E #7E2F6C #7E692F #2F7E42
split-complementary
#2F447E #7E422F #6C7E2F
monochromatic
#0E1425 #1E2C51 #2F447E #405CAB #637DC5

Accessibility & contrast

On white

9.34
#2F447E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F447E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F447E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F447E#FFFFFF#000000##FFFFFF
##2F447E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A80
Deuteranopia (green-blind)
#1D437D
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f447e;
/* rgb */ color: rgb(47, 68, 126);
/* oklch */ color: oklch(40.1% 0.101 266.9);
Tailwind
colors: {
  custom: {
    50: '#6f77a4',
    500: '#2f447e',
    950: '#000000',
  },
}
SCSS
$custom: #2f447e;
$custom-light: #6f77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f447e",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 126
  },
  "hsl": {
    "h": 224.051,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40069,
    "c": 0.10113,
    "h": 266.9
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#2F447E
secondary
#AC975D
accent
#B352D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F447E

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

Preview Lab → · Contrast checker → · Palette generator →

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