#2F4580#2F4580

#2F4580 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.103 H 266.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2F4580
RGBrgb(47, 69, 128)
HSLhsl(224, 46%, 34%)
HSVhsv(224, 63%, 50%)
CMYKcmyk(63.3%, 46.1%, 0%, 49.8%)
CIE-LABlab(30.44, 11.32, -35.98)
CIE-LCHlch(30.44, 37.72, 287.47°)
OKLaboklab(40.44% -0.0063 -0.1026)
OKLCHoklch(40.44% 0.103 266.5)
XYZxyz(7.1954, 6.4185, 21.2776)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4580 #806A2F
analogous
#2F6E80 #2F4580 #422F80
triadic
#2F4580 #802F45 #45802F
tetradic
#2F4580 #802F6E #806A2F #2F8042
square
#2F4580 #802F6E #806A2F #2F8042
split-complementary
#2F4580 #80422F #6E802F
monochromatic
#0E1526 #1F2D53 #2F4580 #3F5DAD #637EC6

Accessibility & contrast

On white

9.20
#2F4580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F4580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4580
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4580#FFFFFF#000000##FFFFFF
##2F45801.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C82
Deuteranopia (green-blind)
#1D447F
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4580;
/* rgb */ color: rgb(47, 69, 128);
/* oklch */ color: oklch(40.4% 0.103 266.5);
Tailwind
colors: {
  custom: {
    50: '#7078a5',
    500: '#2f4580',
    950: '#000000',
  },
}
SCSS
$custom: #2f4580;
$custom-light: #7078a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4580",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 223.704,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.10283,
    "h": 266.5
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#2F4580
secondary
#AD975E
accent
#B252D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F4580

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

Preview Lab → · Contrast checker → · Palette generator →

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