#2F4E93#2F4E93

#2F4E93 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.119 H 263.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2F4E93
RGBrgb(47, 78, 147)
HSLhsl(221, 52%, 38%)
HSVhsv(221, 68%, 58%)
CMYKcmyk(68%, 46.9%, 0%, 42.4%)
CIE-LABlab(34.31, 12.39, -41.48)
CIE-LCHlch(34.31, 43.29, 286.63°)
OKLaboklab(43.79% -0.0126 -0.1186)
OKLCHoklch(43.79% 0.119 263.9)
XYZxyz(9.1613, 8.1588, 28.6901)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E93 #93742F
analogous
#2F8093 #2F4E93 #422F93
triadic
#2F4E93 #932F4E #4E932F
tetradic
#2F4E93 #932F80 #93742F #2F9342
square
#2F4E93 #932F80 #93742F #2F9342
split-complementary
#2F4E93 #93422F #80932F
monochromatic
#111D36 #203565 #2F4E93 #3E67C1 #6C8BD0

Accessibility & contrast

On white

7.98
#2F4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2F4E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E93
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E93#FFFFFF#000000##FFFFFF
##2F4E931.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5696
Deuteranopia (green-blind)
#194C92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f4e93;
/* rgb */ color: rgb(47, 78, 147);
/* oklch */ color: oklch(43.8% 0.119 263.9);
Tailwind
colors: {
  custom: {
    50: '#737fb3',
    500: '#2f4e93',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e93;
$custom-light: #737fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e93",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 221.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.11932,
    "h": 263.9
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#2F4E93
secondary
#B79E66
accent
#AF4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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