#2F4D91#2F4D91

#2F4D91 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.118 H 264.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2F4D91
RGBrgb(47, 77, 145)
HSLhsl(222, 51%, 38%)
HSVhsv(222, 68%, 57%)
CMYKcmyk(67.6%, 46.9%, 0%, 43.1%)
CIE-LABlab(33.89, 12.30, -40.93)
CIE-LCHlch(33.89, 42.74, 286.73°)
OKLaboklab(43.43% -0.0119 -0.1171)
OKLCHoklch(43.43% 0.118 264.2)
XYZxyz(8.9352, 7.9556, 27.8473)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D91 #91732F
analogous
#2F7E91 #2F4D91 #422F91
triadic
#2F4D91 #912F4D #4D912F
tetradic
#2F4D91 #912F7E #91732F #2F9142
square
#2F4D91 #912F7E #91732F #2F9142
split-complementary
#2F4D91 #91422F #7E912F
monochromatic
#111C35 #203463 #2F4D91 #3E66BF #6B8ACF

Accessibility & contrast

On white

8.10
#2F4D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2F4D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4D91
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D91#FFFFFF#000000##FFFFFF
##2F4D911.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5494
Deuteranopia (green-blind)
#194B90
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4d91;
/* rgb */ color: rgb(47, 77, 145);
/* oklch */ color: oklch(43.4% 0.118 264.2);
Tailwind
colors: {
  custom: {
    50: '#737eb2',
    500: '#2f4d91',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d91;
$custom-light: #737eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d91",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 221.633,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43429,
    "c": 0.11767,
    "h": 264.2
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F4D91

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

Preview Lab → · Contrast checker → · Palette generator →

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