#2F4399#2F4399

#2F4399 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.142 H 269.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2F4399
RGBrgb(47, 67, 153)
HSLhsl(229, 53%, 39%)
HSVhsv(229, 69%, 60%)
CMYKcmyk(69.3%, 56.2%, 0%, 40%)
CIE-LABlab(31.62, 22.03, -49.46)
CIE-LCHlch(31.62, 54.15, 294.00°)
OKLaboklab(41.88% -0.0014 -0.1423)
OKLCHoklch(41.88% 0.142 269.4)
XYZxyz(8.9272, 6.9177, 30.9956)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4399 #99852F
analogous
#2F7899 #2F4399 #502F99
triadic
#2F4399 #992F43 #43992F
tetradic
#2F4399 #992F78 #99852F #2F9950
square
#2F4399 #992F78 #99852F #2F9950
split-complementary
#2F4399 #99502F #78992F
monochromatic
#121A3B #212E6A #2F4399 #415AC5 #6F82D3

Accessibility & contrast

On white

8.81
#2F4399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F4399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4399
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4399#FFFFFF#000000##FFFFFF
##2F43991.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4399;
/* rgb */ color: rgb(47, 67, 153);
/* oklch */ color: oklch(41.9% 0.142 269.4);
Tailwind
colors: {
  custom: {
    50: '#7576b8',
    500: '#2f4399',
    950: '#000000',
  },
}
SCSS
$custom: #2f4399;
$custom-light: #7576b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4399",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 228.679,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41883,
    "c": 0.14233,
    "h": 269.4
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#2F4399
secondary
#BAAB69
accent
#C14BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4399

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

Preview Lab → · Contrast checker → · Palette generator →

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