#2F4E96#2F4E96

#2F4E96 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.124 H 264.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2F4E96
RGBrgb(47, 78, 150)
HSLhsl(222, 52%, 39%)
HSVhsv(222, 69%, 59%)
CMYKcmyk(68.7%, 48%, 0%, 41.2%)
CIE-LABlab(34.51, 13.52, -42.98)
CIE-LCHlch(34.51, 45.06, 287.46°)
OKLaboklab(44.01% -0.0121 -0.1231)
OKLCHoklch(44.01% 0.124 264.4)
XYZxyz(9.3998, 8.2542, 29.9461)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E96 #96772F
analogous
#2F8196 #2F4E96 #432F96
triadic
#2F4E96 #962F4E #4E962F
tetradic
#2F4E96 #962F81 #96772F #2F9643
square
#2F4E96 #962F81 #96772F #2F9643
split-complementary
#2F4E96 #96432F #81962F
monochromatic
#121E39 #203667 #2F4E96 #3F67C3 #6E8CD2

Accessibility & contrast

On white

7.92
#2F4E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2F4E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E96
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E96#FFFFFF#000000##FFFFFF
##2F4E961.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f4e96;
/* rgb */ color: rgb(47, 78, 150);
/* oklch */ color: oklch(44.0% 0.124 264.4);
Tailwind
colors: {
  custom: {
    50: '#747fb5',
    500: '#2f4e96',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e96;
$custom-light: #747fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e96",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 221.942,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44006,
    "c": 0.12367,
    "h": 264.4
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#2F4E96
secondary
#B9A168
accent
#B04CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F4E96

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

Preview Lab → · Contrast checker → · Palette generator →

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