#2F447C#2F447C

#2F447C is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.098 H 266.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2F447C
RGBrgb(47, 68, 124)
HSLhsl(224, 45%, 34%)
HSVhsv(224, 62%, 49%)
CMYKcmyk(62.1%, 45.2%, 0%, 51.4%)
CIE-LABlab(29.89, 10.52, -34.37)
CIE-LCHlch(29.89, 35.94, 287.02°)
OKLaboklab(39.93% -0.0059 -0.0979)
OKLCHoklch(39.93% 0.098 266.5)
XYZxyz(6.8763, 6.1932, 19.8979)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F447C #7C672F
analogous
#2F6A7C #2F447C #402F7C
triadic
#2F447C #7C2F44 #447C2F
tetradic
#2F447C #7C2F6A #7C672F #2F7C40
square
#2F447C #7C2F6A #7C672F #2F7C40
split-complementary
#2F447C #7C402F #6A7C2F
monochromatic
#0D1323 #1E2C50 #2F447C #405CA8 #627DC3

Accessibility & contrast

On white

9.38
#2F447C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2F447C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F447C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F447C#FFFFFF#000000##FFFFFF
##2F447C1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7E
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f447c;
/* rgb */ color: rgb(47, 68, 124);
/* oklch */ color: oklch(39.9% 0.098 266.5);
Tailwind
colors: {
  custom: {
    50: '#6f77a2',
    500: '#2f447c',
    950: '#000000',
  },
}
SCSS
$custom: #2f447c;
$custom-light: #6f77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f447c",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 124
  },
  "hsl": {
    "h": 223.636,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39932,
    "c": 0.09809,
    "h": 266.5
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#2F447C
secondary
#AA955C
accent
#B153D5
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F447C

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

Preview Lab → · Contrast checker → · Palette generator →

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