#2F4388#2F4388

#2F4388 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.6% C 0.118 H 268.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2F4388
RGBrgb(47, 67, 136)
HSLhsl(227, 49%, 36%)
HSVhsv(227, 65%, 53%)
CMYKcmyk(65.4%, 50.7%, 0%, 46.7%)
CIE-LABlab(30.39, 15.66, -41.03)
CIE-LCHlch(30.39, 43.92, 290.89°)
OKLaboklab(40.56% -0.0029 -0.1175)
OKLCHoklch(40.56% 0.118 268.6)
XYZxyz(7.6219, 6.3955, 24.1206)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4388 #88742F
analogous
#2F6F88 #2F4388 #472F88
triadic
#2F4388 #882F43 #43882F
tetradic
#2F4388 #882F6F #88742F #2F8847
square
#2F4388 #882F6F #88742F #2F8847
split-complementary
#2F4388 #88472F #6F882F
monochromatic
#10162D #1F2D5B #2F4388 #3F59B5 #677DCA

Accessibility & contrast

On white

9.21
#2F4388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4388
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4388#FFFFFF#000000##FFFFFF
##2F43881.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8B
Deuteranopia (green-blind)
#094487
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4388;
/* rgb */ color: rgb(47, 67, 136);
/* oklch */ color: oklch(40.6% 0.118 268.6);
Tailwind
colors: {
  custom: {
    50: '#7176ab',
    500: '#2f4388',
    950: '#000000',
  },
}
SCSS
$custom: #2f4388;
$custom-light: #7176ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4388",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 226.517,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.11756,
    "h": 268.6
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#2F4388
secondary
#B19F61
accent
#BA50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F4388

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

Preview Lab → · Contrast checker → · Palette generator →

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