#2F4C91#2F4C91

#2F4C91 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.119 H 264.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2F4C91
RGBrgb(47, 76, 145)
HSLhsl(222, 51%, 38%)
HSVhsv(222, 68%, 57%)
CMYKcmyk(67.6%, 47.6%, 0%, 43.1%)
CIE-LABlab(33.60, 12.97, -41.40)
CIE-LCHlch(33.60, 43.39, 287.40°)
OKLaboklab(43.21% -0.0109 -0.1185)
OKLCHoklch(43.21% 0.119 264.7)
XYZxyz(8.8658, 7.8167, 27.8241)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C91 #91742F
analogous
#2F7D91 #2F4C91 #432F91
triadic
#2F4C91 #912F4C #4C912F
tetradic
#2F4C91 #912F7D #91742F #2F9143
square
#2F4C91 #912F7D #91742F #2F9143
split-complementary
#2F4C91 #91432F #7D912F
monochromatic
#111C35 #203463 #2F4C91 #3E64BF #6B89CF

Accessibility & contrast

On white

8.19
#2F4C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2F4C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C91
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C91#FFFFFF#000000##FFFFFF
##2F4C911.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#164B90
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f4c91;
/* rgb */ color: rgb(47, 76, 145);
/* oklch */ color: oklch(43.2% 0.119 264.7);
Tailwind
colors: {
  custom: {
    50: '#737db2',
    500: '#2f4c91',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c91;
$custom-light: #737db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c91",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 145
  },
  "hsl": {
    "h": 222.245,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43205,
    "c": 0.11896,
    "h": 264.7
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#2F4C91
secondary
#B69E65
accent
#B14DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4C91

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

Preview Lab → · Contrast checker → · Palette generator →

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