#2F4684#2F4684

#2F4684 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.108 H 266.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2F4684
RGBrgb(47, 70, 132)
HSLhsl(224, 47%, 35%)
HSVhsv(224, 64%, 52%)
CMYKcmyk(64.4%, 47%, 0%, 48.2%)
CIE-LABlab(31.00, 12.14, -37.58)
CIE-LCHlch(31.00, 39.50, 287.89°)
OKLaboklab(40.94% -0.0067 -0.1073)
OKLCHoklch(40.94% 0.108 266.4)
XYZxyz(7.5259, 6.6499, 22.7123)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4684 #846D2F
analogous
#2F7084 #2F4684 #432F84
triadic
#2F4684 #842F46 #46842F
tetradic
#2F4684 #842F70 #846D2F #2F8443
square
#2F4684 #842F70 #846D2F #2F8443
split-complementary
#2F4684 #84432F #70842F
monochromatic
#0F162A #1F2E57 #2F4684 #3F5EB1 #6580C8

Accessibility & contrast

On white

9.01
#2F4684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2F4684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4684
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4684#FFFFFF#000000##FFFFFF
##2F46841.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D86
Deuteranopia (green-blind)
#1A4583
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4684;
/* rgb */ color: rgb(47, 70, 132);
/* oklch */ color: oklch(40.9% 0.108 266.4);
Tailwind
colors: {
  custom: {
    50: '#7079a8',
    500: '#2f4684',
    950: '#000000',
  },
}
SCSS
$custom: #2f4684;
$custom-light: #7079a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4684",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 223.765,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4094,
    "c": 0.10754,
    "h": 266.4
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#2F4684
secondary
#AF9A60
accent
#B351D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2F4684

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

Preview Lab → · Contrast checker → · Palette generator →

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