#2F4296#2F4296

#2F4296 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.139 H 269.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2F4296
RGBrgb(47, 66, 150)
HSLhsl(229, 52%, 39%)
HSVhsv(229, 69%, 59%)
CMYKcmyk(68.7%, 56%, 0%, 41.2%)
CIE-LABlab(31.12, 21.58, -48.45)
CIE-LCHlch(31.12, 53.04, 294.01°)
OKLaboklab(41.44% -0.0007 -0.1393)
OKLCHoklch(41.44% 0.139 269.7)
XYZxyz(8.6236, 6.7020, 29.6874)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4296 #96832F
analogous
#2F7596 #2F4296 #4F2F96
triadic
#2F4296 #962F42 #42962F
tetradic
#2F4296 #962F75 #96832F #2F964F
square
#2F4296 #962F75 #96832F #2F964F
split-complementary
#2F4296 #964F2F #75962F
monochromatic
#121939 #202D67 #2F4296 #3F58C3 #6E80D2

Accessibility & contrast

On white

8.97
#2F4296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2F4296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4296
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4296#FFFFFF#000000##FFFFFF
##2F42961.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4296;
/* rgb */ color: rgb(47, 66, 150);
/* oklch */ color: oklch(41.4% 0.139 269.7);
Tailwind
colors: {
  custom: {
    50: '#7476b5',
    500: '#2f4296',
    950: '#000000',
  },
}
SCSS
$custom: #2f4296;
$custom-light: #7476b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4296",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 228.932,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41436,
    "c": 0.13935,
    "h": 269.7
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#2F4296
secondary
#B9AA68
accent
#C14CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4296

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

Preview Lab → · Contrast checker → · Palette generator →

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