#2F4E94#2F4E94

#2F4E94 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.121 H 264.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2F4E94
RGBrgb(47, 78, 148)
HSLhsl(222, 52%, 38%)
HSVhsv(222, 68%, 58%)
CMYKcmyk(68.2%, 47.3%, 0%, 42%)
CIE-LABlab(34.38, 12.77, -41.98)
CIE-LCHlch(34.38, 43.88, 286.92°)
OKLaboklab(43.86% -0.0124 -0.1201)
OKLCHoklch(43.86% 0.121 264.1)
XYZxyz(9.2401, 8.1903, 29.1052)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E94 #94752F
analogous
#2F8094 #2F4E94 #422F94
triadic
#2F4E94 #942F4E #4E942F
tetradic
#2F4E94 #942F80 #94752F #2F9442
square
#2F4E94 #942F80 #94752F #2F9442
split-complementary
#2F4E94 #94422F #80942F
monochromatic
#111D37 #203666 #2F4E94 #3E67C2 #6D8BD1

Accessibility & contrast

On white

7.96
#2F4E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2F4E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E94
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E94#FFFFFF#000000##FFFFFF
##2F4E941.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5697
Deuteranopia (green-blind)
#174C93
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f4e94;
/* rgb */ color: rgb(47, 78, 148);
/* oklch */ color: oklch(43.9% 0.121 264.1);
Tailwind
colors: {
  custom: {
    50: '#737fb4',
    500: '#2f4e94',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e94;
$custom-light: #737fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e94",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 221.584,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43864,
    "c": 0.12077,
    "h": 264.1
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F4E94

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

Preview Lab → · Contrast checker → · Palette generator →

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