#2F4C8F#2F4C8F

#2F4C8F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.116 H 264.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2F4C8F
RGBrgb(47, 76, 143)
HSLhsl(222, 51%, 37%)
HSVhsv(222, 67%, 56%)
CMYKcmyk(67.1%, 46.9%, 0%, 43.9%)
CIE-LABlab(33.47, 12.22, -40.39)
CIE-LCHlch(33.47, 42.20, 286.83°)
OKLaboklab(43.06% -0.0112 -0.1155)
OKLCHoklch(43.06% 0.116 264.5)
XYZxyz(8.7129, 7.7556, 27.0191)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C8F #8F722F
analogous
#2F7C8F #2F4C8F #422F8F
triadic
#2F4C8F #8F2F4C #4C8F2F
tetradic
#2F4C8F #8F2F7C #8F722F #2F8F42
square
#2F4C8F #8F2F7C #8F722F #2F8F42
split-complementary
#2F4C8F #8F422F #7C8F2F
monochromatic
#111B33 #203461 #2F4C8F #3E64BD #6A88CE

Accessibility & contrast

On white

8.23
#2F4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2F4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C8F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C8F#FFFFFF#000000##FFFFFF
##2F4C8F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#1A4B8E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f4c8f;
/* rgb */ color: rgb(47, 76, 143);
/* oklch */ color: oklch(43.1% 0.116 264.5);
Tailwind
colors: {
  custom: {
    50: '#727db0',
    500: '#2f4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c8f;
$custom-light: #727db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c8f",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 221.875,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43064,
    "c": 0.11603,
    "h": 264.5
  },
  "luminance": 0.07756
}

Semantic roles & 50–950 ramp

primary
#2F4C8F
secondary
#B59D65
accent
#B04EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2F4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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