#2F4384#2F4384

#2F4384 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.112 H 268.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2F4384
RGBrgb(47, 67, 132)
HSLhsl(226, 47%, 35%)
HSVhsv(226, 64%, 52%)
CMYKcmyk(64.4%, 49.2%, 0%, 48.2%)
CIE-LABlab(30.12, 14.17, -38.99)
CIE-LCHlch(30.12, 41.49, 289.97°)
OKLaboklab(40.27% -0.0035 -0.1115)
OKLCHoklch(40.27% 0.112 268.2)
XYZxyz(7.3429, 6.2840, 22.6513)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4384 #84702F
analogous
#2F6E84 #2F4384 #452F84
triadic
#2F4384 #842F43 #43842F
tetradic
#2F4384 #842F6E #84702F #2F8445
square
#2F4384 #842F6E #84702F #2F8445
split-complementary
#2F4384 #84452F #6E842F
monochromatic
#0F152A #1F2C57 #2F4384 #3F5AB1 #657CC8

Accessibility & contrast

On white

9.30
#2F4384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4384
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4384#FFFFFF#000000##FFFFFF
##2F43841.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B86
Deuteranopia (green-blind)
#124383
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4384;
/* rgb */ color: rgb(47, 67, 132);
/* oklch */ color: oklch(40.3% 0.112 268.2);
Tailwind
colors: {
  custom: {
    50: '#7076a8',
    500: '#2f4384',
    950: '#000000',
  },
}
SCSS
$custom: #2f4384;
$custom-light: #7076a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4384",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 225.882,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40269,
    "c": 0.11156,
    "h": 268.2
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#2F4384
secondary
#AF9C60
accent
#B751D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F4384

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

Preview Lab → · Contrast checker → · Palette generator →

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