#2F4B96#2F4B96

#2F4B96 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.128 H 265.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2F4B96
RGBrgb(47, 75, 150)
HSLhsl(224, 52%, 39%)
HSVhsv(224, 69%, 59%)
CMYKcmyk(68.7%, 50%, 0%, 41.2%)
CIE-LABlab(33.64, 15.53, -44.37)
CIE-LCHlch(33.64, 47.01, 289.28°)
OKLaboklab(43.35% -0.0092 -0.1272)
OKLCHoklch(43.35% 0.128 265.9)
XYZxyz(9.1915, 7.8376, 29.8767)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B96 #967A2F
analogous
#2F7E96 #2F4B96 #462F96
triadic
#2F4B96 #962F4B #4B962F
tetradic
#2F4B96 #962F7E #967A2F #2F9646
square
#2F4B96 #962F7E #967A2F #2F9646
split-complementary
#2F4B96 #96462F #7E962F
monochromatic
#121C39 #203467 #2F4B96 #3F63C3 #6E89D2

Accessibility & contrast

On white

8.18
#2F4B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2F4B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B96
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B96#FFFFFF#000000##FFFFFF
##2F4B961.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#054B94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f4b96;
/* rgb */ color: rgb(47, 75, 150);
/* oklch */ color: oklch(43.3% 0.128 265.9);
Tailwind
colors: {
  custom: {
    50: '#747cb5',
    500: '#2f4b96',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b96;
$custom-light: #747cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b96",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 150
  },
  "hsl": {
    "h": 223.689,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43346,
    "c": 0.12755,
    "h": 265.9
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#2F4B96
secondary
#B9A368
accent
#B54CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4B96

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

Preview Lab → · Contrast checker → · Palette generator →

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