#2F4582#2F4582

#2F4582 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.106 H 266.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2F4582
RGBrgb(47, 69, 130)
HSLhsl(224, 47%, 35%)
HSVhsv(224, 64%, 51%)
CMYKcmyk(63.8%, 46.9%, 0%, 49%)
CIE-LABlab(30.57, 12.07, -37.02)
CIE-LCHlch(30.57, 38.94, 288.05°)
OKLaboklab(40.57% -0.006 -0.1057)
OKLCHoklch(40.57% 0.106 266.8)
XYZxyz(7.3283, 6.4717, 21.9777)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4582 #826C2F
analogous
#2F6F82 #2F4582 #422F82
triadic
#2F4582 #822F45 #45822F
tetradic
#2F4582 #822F6F #826C2F #2F8242
square
#2F4582 #822F6F #826C2F #2F8242
split-complementary
#2F4582 #82422F #6F822F
monochromatic
#0E1528 #1F2D55 #2F4582 #3F5DAF #647EC7

Accessibility & contrast

On white

9.15
#2F4582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2F4582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4582
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4582#FFFFFF#000000##FFFFFF
##2F45821.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#1B4481
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4582;
/* rgb */ color: rgb(47, 69, 130);
/* oklch */ color: oklch(40.6% 0.106 266.8);
Tailwind
colors: {
  custom: {
    50: '#7078a7',
    500: '#2f4582',
    950: '#000000',
  },
}
SCSS
$custom: #2f4582;
$custom-light: #7078a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4582",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 224.096,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40574,
    "c": 0.10586,
    "h": 266.8
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#2F4582
secondary
#AE995F
accent
#B351D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F4582

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

Preview Lab → · Contrast checker → · Palette generator →

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