#2F449D#2F449D

#2F449D is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.147 H 269.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2F449D
RGBrgb(47, 68, 157)
HSLhsl(229, 54%, 40%)
HSVhsv(229, 70%, 62%)
CMYKcmyk(70.1%, 56.7%, 0%, 38.4%)
CIE-LABlab(32.20, 22.85, -50.95)
CIE-LCHlch(32.20, 55.84, 294.16°)
OKLaboklab(42.41% -0.0021 -0.1467)
OKLCHoklch(42.41% 0.147 269.2)
XYZxyz(9.3231, 7.1720, 32.7847)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F449D #9D882F
analogous
#2F7B9D #2F449D #512F9D
triadic
#2F449D #9D2F44 #449D2F
tetradic
#2F449D #9D2F7B #9D882F #2F9D51
square
#2F449D #9D2F7B #9D882F #2F9D51
split-complementary
#2F449D #9D512F #7B9D2F
monochromatic
#131B3F #21306E #2F449D #435CC7 #7285D5

Accessibility & contrast

On white

8.63
#2F449D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F449D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F449D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F449D#FFFFFF#000000##FFFFFF
##2F449D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f449d;
/* rgb */ color: rgb(47, 68, 157);
/* oklch */ color: oklch(42.4% 0.147 269.2);
Tailwind
colors: {
  custom: {
    50: '#7677bb',
    500: '#2f449d',
    950: '#000000',
  },
}
SCSS
$custom: #2f449d;
$custom-light: #7677bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f449d",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 157
  },
  "hsl": {
    "h": 228.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.14671,
    "h": 269.2
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#2F449D
secondary
#BCAD6B
accent
#C14BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2F449D

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

Preview Lab → · Contrast checker → · Palette generator →

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