#2F4480#2F4480

#2F4480 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.104 H 267.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2F4480
RGBrgb(47, 68, 128)
HSLhsl(224, 46%, 34%)
HSVhsv(224, 63%, 50%)
CMYKcmyk(63.3%, 46.9%, 0%, 49.8%)
CIE-LABlab(30.15, 12.00, -36.46)
CIE-LCHlch(30.15, 38.38, 288.22°)
OKLaboklab(40.21% -0.0052 -0.104)
OKLCHoklch(40.21% 0.104 267.1)
XYZxyz(7.1344, 6.2965, 21.2573)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4480 #806B2F
analogous
#2F6D80 #2F4480 #422F80
triadic
#2F4480 #802F44 #44802F
tetradic
#2F4480 #802F6D #806B2F #2F8042
square
#2F4480 #802F6D #806B2F #2F8042
split-complementary
#2F4480 #80422F #6D802F
monochromatic
#0E1426 #1F2C53 #2F4480 #3F5CAD #637DC6

Accessibility & contrast

On white

9.29
#2F4480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2F4480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4480
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4480#FFFFFF#000000##FFFFFF
##2F44801.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B82
Deuteranopia (green-blind)
#1B447F
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4480;
/* rgb */ color: rgb(47, 68, 128);
/* oklch */ color: oklch(40.2% 0.104 267.1);
Tailwind
colors: {
  custom: {
    50: '#7077a5',
    500: '#2f4480',
    950: '#000000',
  },
}
SCSS
$custom: #2f4480;
$custom-light: #7077a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4480",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 224.444,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40208,
    "c": 0.10417,
    "h": 267.1
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#2F4480
secondary
#AD985E
accent
#B452D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F4480

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

Preview Lab → · Contrast checker → · Palette generator →

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