#2F4884#2F4884

#2F4884 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.105 H 265.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2F4884
RGBrgb(47, 72, 132)
HSLhsl(222, 47%, 35%)
HSVhsv(222, 64%, 52%)
CMYKcmyk(64.4%, 45.5%, 0%, 48.2%)
CIE-LABlab(31.59, 10.79, -36.64)
CIE-LCHlch(31.59, 38.19, 286.41°)
OKLaboklab(41.39% -0.0089 -0.1045)
OKLCHoklch(41.39% 0.105 265.1)
XYZxyz(7.6531, 6.9043, 22.7547)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4884 #846B2F
analogous
#2F7284 #2F4884 #412F84
triadic
#2F4884 #842F48 #48842F
tetradic
#2F4884 #842F72 #846B2F #2F8441
square
#2F4884 #842F72 #846B2F #2F8441
split-complementary
#2F4884 #84412F #72842F
monochromatic
#0F172A #1F2F57 #2F4884 #3F61B1 #6582C8

Accessibility & contrast

On white

8.82
#2F4884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F4884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4884
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4884#FFFFFF#000000##FFFFFF
##2F48841.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E86
Deuteranopia (green-blind)
#1F4783
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4884;
/* rgb */ color: rgb(47, 72, 132);
/* oklch */ color: oklch(41.4% 0.105 265.1);
Tailwind
colors: {
  custom: {
    50: '#707aa8',
    500: '#2f4884',
    950: '#000000',
  },
}
SCSS
$custom: #2f4884;
$custom-light: #707aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4884",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 222.353,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.1049,
    "h": 265.1
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#2F4884
secondary
#AF9860
accent
#B051D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F4884

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

Preview Lab → · Contrast checker → · Palette generator →

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