#2F4584#2F4584

#2F4584 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.109 H 267.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2F4584
RGBrgb(47, 69, 132)
HSLhsl(224, 47%, 35%)
HSVhsv(224, 64%, 52%)
CMYKcmyk(64.4%, 47.7%, 0%, 48.2%)
CIE-LABlab(30.70, 12.81, -38.06)
CIE-LCHlch(30.70, 40.15, 288.60°)
OKLaboklab(40.72% -0.0056 -0.1087)
OKLCHoklch(40.72% 0.109 267)
XYZxyz(7.4638, 6.5259, 22.6916)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4584 #846E2F
analogous
#2F6F84 #2F4584 #442F84
triadic
#2F4584 #842F45 #45842F
tetradic
#2F4584 #842F6F #846E2F #2F8444
square
#2F4584 #842F6F #846E2F #2F8444
split-complementary
#2F4584 #84442F #6F842F
monochromatic
#0F162A #1F2D57 #2F4584 #3F5DB1 #657FC8

Accessibility & contrast

On white

9.11
#2F4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2F4584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4584
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4584#FFFFFF#000000##FFFFFF
##2F45841.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#184583
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4584;
/* rgb */ color: rgb(47, 69, 132);
/* oklch */ color: oklch(40.7% 0.109 267.0);
Tailwind
colors: {
  custom: {
    50: '#7078a8',
    500: '#2f4584',
    950: '#000000',
  },
}
SCSS
$custom: #2f4584;
$custom-light: #7078a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4584",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 224.471,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.10888,
    "h": 267
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#2F4584
secondary
#AF9B60
accent
#B451D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F4584

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

Preview Lab → · Contrast checker → · Palette generator →

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