#2F4E92#2F4E92

#2F4E92 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.7% C 0.118 H 263.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2F4E92
RGBrgb(47, 78, 146)
HSLhsl(221, 51%, 38%)
HSVhsv(221, 68%, 57%)
CMYKcmyk(67.8%, 46.6%, 0%, 42.7%)
CIE-LABlab(34.25, 12.01, -40.97)
CIE-LCHlch(34.25, 42.70, 286.34°)
OKLaboklab(43.72% -0.0128 -0.1172)
OKLCHoklch(43.72% 0.118 263.8)
XYZxyz(9.0832, 8.1276, 28.2786)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E92 #92732F
analogous
#2F7F92 #2F4E92 #412F92
triadic
#2F4E92 #922F4E #4E922F
tetradic
#2F4E92 #922F7F #92732F #2F9241
square
#2F4E92 #922F7F #92732F #2F9241
split-complementary
#2F4E92 #92412F #7F922F
monochromatic
#111D35 #203564 #2F4E92 #3E67C0 #6C8BD0

Accessibility & contrast

On white

8.00
#2F4E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2F4E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E92
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E92#FFFFFF#000000##FFFFFF
##2F4E921.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5595
Deuteranopia (green-blind)
#1A4C91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f4e92;
/* rgb */ color: rgb(47, 78, 146);
/* oklch */ color: oklch(43.7% 0.118 263.8);
Tailwind
colors: {
  custom: {
    50: '#737fb2',
    500: '#2f4e92',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e92;
$custom-light: #737fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e92",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 221.212,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43723,
    "c": 0.11785,
    "h": 263.8
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#2F4E92
secondary
#B79E66
accent
#AE4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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