#2F4D92#2F4D92

#2F4D92 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.119 H 264.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2F4D92
RGBrgb(47, 77, 146)
HSLhsl(222, 51%, 38%)
HSVhsv(222, 68%, 57%)
CMYKcmyk(67.8%, 47.3%, 0%, 42.7%)
CIE-LABlab(33.95, 12.68, -41.44)
CIE-LCHlch(33.95, 43.34, 287.02°)
OKLaboklab(43.5% -0.0117 -0.1186)
OKLCHoklch(43.5% 0.119 264.3)
XYZxyz(9.0127, 7.9865, 28.2551)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D92 #92742F
analogous
#2F7E92 #2F4D92 #422F92
triadic
#2F4D92 #922F4D #4D922F
tetradic
#2F4D92 #922F7E #92742F #2F9242
square
#2F4D92 #922F7E #92742F #2F9242
split-complementary
#2F4D92 #92422F #7E922F
monochromatic
#111C35 #203564 #2F4D92 #3E65C0 #6C8AD0

Accessibility & contrast

On white

8.09
#2F4D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2F4D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4D92
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D92#FFFFFF#000000##FFFFFF
##2F4D921.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5595
Deuteranopia (green-blind)
#174C91
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4d92;
/* rgb */ color: rgb(47, 77, 146);
/* oklch */ color: oklch(43.5% 0.119 264.3);
Tailwind
colors: {
  custom: {
    50: '#737eb2',
    500: '#2f4d92',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d92;
$custom-light: #737eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d92",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 146
  },
  "hsl": {
    "h": 221.818,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43499,
    "c": 0.11914,
    "h": 264.3
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#2F4D92
secondary
#B79E66
accent
#B04DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4D92

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

Preview Lab → · Contrast checker → · Palette generator →

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