#2F4E91#2F4E91

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

Color values

HEX#2F4E91
RGBrgb(47, 78, 145)
HSLhsl(221, 51%, 38%)
HSVhsv(221, 68%, 57%)
CMYKcmyk(67.6%, 46.2%, 0%, 43.1%)
CIE-LABlab(34.18, 11.64, -40.46)
CIE-LCHlch(34.18, 42.10, 286.05°)
OKLaboklab(43.65% -0.0129 -0.1157)
OKLCHoklch(43.65% 0.116 263.6)
XYZxyz(9.0057, 8.0966, 27.8708)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E91 #91722F
analogous
#2F7F91 #2F4E91 #412F91
triadic
#2F4E91 #912F4E #4E912F
tetradic
#2F4E91 #912F7F #91722F #2F9141
square
#2F4E91 #912F7F #91722F #2F9141
split-complementary
#2F4E91 #91412F #7F912F
monochromatic
#111C35 #203563 #2F4E91 #3E67BF #6B8BCF

Accessibility & contrast

On white

8.02
#2F4E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2F4E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E91
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E91#FFFFFF#000000##FFFFFF
##2F4E911.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#1C4C90
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4e91;
/* rgb */ color: rgb(47, 78, 145);
/* oklch */ color: oklch(43.7% 0.116 263.6);
Tailwind
colors: {
  custom: {
    50: '#737fb2',
    500: '#2f4e91',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e91;
$custom-light: #737fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e91",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 221.02,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43654,
    "c": 0.11639,
    "h": 263.6
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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