#2F4988#2F4988

#2F4988 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.110 H 265.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2F4988
RGBrgb(47, 73, 136)
HSLhsl(222, 49%, 36%)
HSVhsv(222, 65%, 53%)
CMYKcmyk(65.4%, 46.3%, 0%, 46.7%)
CIE-LABlab(32.14, 11.61, -38.23)
CIE-LCHlch(32.14, 39.95, 286.89°)
OKLaboklab(41.9% -0.0093 -0.1092)
OKLCHoklch(41.9% 0.11 265.1)
XYZxyz(7.9972, 7.1463, 24.2457)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4988 #886E2F
analogous
#2F7588 #2F4988 #412F88
triadic
#2F4988 #882F49 #49882F
tetradic
#2F4988 #882F75 #886E2F #2F8841
square
#2F4988 #882F75 #886E2F #2F8841
split-complementary
#2F4988 #88412F #75882F
monochromatic
#10182D #1F315B #2F4988 #3F61B5 #6784CA

Accessibility & contrast

On white

8.64
#2F4988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F4988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4988
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4988#FFFFFF#000000##FFFFFF
##2F49881.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508A
Deuteranopia (green-blind)
#1C4887
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4988;
/* rgb */ color: rgb(47, 73, 136);
/* oklch */ color: oklch(41.9% 0.110 265.1);
Tailwind
colors: {
  custom: {
    50: '#717bab',
    500: '#2f4988',
    950: '#000000',
  },
}
SCSS
$custom: #2f4988;
$custom-light: #717bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4988",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 136
  },
  "hsl": {
    "h": 222.472,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41898,
    "c": 0.10957,
    "h": 265.1
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#2F4988
secondary
#B19A61
accent
#B050D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2F4988

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

Preview Lab → · Contrast checker → · Palette generator →

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