#2F447F#2F447F

#2F447F is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.103 H 267.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2F447F
RGBrgb(47, 68, 127)
HSLhsl(224, 46%, 34%)
HSVhsv(224, 63%, 50%)
CMYKcmyk(63%, 46.5%, 0%, 50.2%)
CIE-LABlab(30.08, 11.63, -35.94)
CIE-LCHlch(30.08, 37.77, 287.93°)
OKLaboklab(40.14% -0.0054 -0.1025)
OKLCHoklch(40.14% 0.103 267)
XYZxyz(7.0689, 6.2703, 20.9123)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F447F #7F6A2F
analogous
#2F6C7F #2F447F #422F7F
triadic
#2F447F #7F2F44 #447F2F
tetradic
#2F447F #7F2F6C #7F6A2F #2F7F42
square
#2F447F #7F2F6C #7F6A2F #2F7F42
split-complementary
#2F447F #7F422F #6C7F2F
monochromatic
#0E1426 #1E2C52 #2F447F #405CAC #637DC5

Accessibility & contrast

On white

9.32
#2F447F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F447F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F447F#FFFFFF#000000##FFFFFF
##2F447F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f447f;
/* rgb */ color: rgb(47, 68, 127);
/* oklch */ color: oklch(40.1% 0.103 267.0);
Tailwind
colors: {
  custom: {
    50: '#6f77a4',
    500: '#2f447f',
    950: '#000000',
  },
}
SCSS
$custom: #2f447f;
$custom-light: #6f77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f447f",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 127
  },
  "hsl": {
    "h": 224.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40138,
    "c": 0.10266,
    "h": 267
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#2F447F
secondary
#AC985E
accent
#B352D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F447F

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

Preview Lab → · Contrast checker → · Palette generator →

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