#2F4A96#2F4A96

#2F4A96 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.129 H 266.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2F4A96
RGBrgb(47, 74, 150)
HSLhsl(224, 52%, 39%)
HSVhsv(224, 69%, 59%)
CMYKcmyk(68.7%, 50.7%, 0%, 41.2%)
CIE-LABlab(33.36, 16.20, -44.83)
CIE-LCHlch(33.36, 47.67, 289.86°)
OKLaboklab(43.13% -0.0082 -0.1286)
OKLCHoklch(43.13% 0.129 266.4)
XYZxyz(9.1242, 7.7030, 29.8542)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A96 #967B2F
analogous
#2F7D96 #2F4A96 #472F96
triadic
#2F4A96 #962F4A #4A962F
tetradic
#2F4A96 #962F7D #967B2F #2F9647
square
#2F4A96 #962F7D #967B2F #2F9647
split-complementary
#2F4A96 #96472F #7D962F
monochromatic
#121C39 #203367 #2F4A96 #3F62C3 #6E88D2

Accessibility & contrast

On white

8.27
#2F4A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2F4A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A96
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A96#FFFFFF#000000##FFFFFF
##2F4A961.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5399
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f4a96;
/* rgb */ color: rgb(47, 74, 150);
/* oklch */ color: oklch(43.1% 0.129 266.4);
Tailwind
colors: {
  custom: {
    50: '#747cb5',
    500: '#2f4a96',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a96;
$custom-light: #747cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a96",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 224.272,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43128,
    "c": 0.12885,
    "h": 266.4
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#2F4A96
secondary
#B9A468
accent
#B64CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4A96

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

Preview Lab → · Contrast checker → · Palette generator →

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