#2F4299#2F4299

#2F4299 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.144 H 269.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2F4299
RGBrgb(47, 66, 153)
HSLhsl(229, 53%, 39%)
HSVhsv(229, 69%, 60%)
CMYKcmyk(69.3%, 56.9%, 0%, 40%)
CIE-LABlab(31.35, 22.70, -49.91)
CIE-LCHlch(31.35, 54.83, 294.46°)
OKLaboklab(41.68% -0.0005 -0.1436)
OKLCHoklch(41.68% 0.144 269.8)
XYZxyz(8.8683, 6.7998, 30.9760)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4299 #99862F
analogous
#2F7799 #2F4299 #512F99
triadic
#2F4299 #992F42 #42992F
tetradic
#2F4299 #992F77 #99862F #2F9951
square
#2F4299 #992F77 #99862F #2F9951
split-complementary
#2F4299 #99512F #77992F
monochromatic
#121A3B #212E6A #2F4299 #4158C5 #6F81D3

Accessibility & contrast

On white

8.90
#2F4299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F4299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4299
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4299#FFFFFF#000000##FFFFFF
##2F42991.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4299;
/* rgb */ color: rgb(47, 66, 153);
/* oklch */ color: oklch(41.7% 0.144 269.8);
Tailwind
colors: {
  custom: {
    50: '#7576b8',
    500: '#2f4299',
    950: '#000000',
  },
}
SCSS
$custom: #2f4299;
$custom-light: #7576b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4299",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 229.245,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41679,
    "c": 0.14363,
    "h": 269.8
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#2F4299
secondary
#BAAC69
accent
#C24BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4299

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

Preview Lab → · Contrast checker → · Palette generator →

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