#2F4C96#2F4C96

#2F4C96 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.126 H 265.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2F4C96
RGBrgb(47, 76, 150)
HSLhsl(223, 52%, 39%)
HSVhsv(223, 69%, 59%)
CMYKcmyk(68.7%, 49.3%, 0%, 41.2%)
CIE-LABlab(33.93, 14.86, -43.91)
CIE-LCHlch(33.93, 46.36, 288.69°)
OKLaboklab(43.57% -0.0101 -0.1258)
OKLCHoklch(43.57% 0.126 265.4)
XYZxyz(9.2598, 7.9743, 29.8995)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C96 #96792F
analogous
#2F7F96 #2F4C96 #452F96
triadic
#2F4C96 #962F4C #4C962F
tetradic
#2F4C96 #962F7F #96792F #2F9645
square
#2F4C96 #962F7F #96792F #2F9645
split-complementary
#2F4C96 #96452F #7F962F
monochromatic
#121D39 #203467 #2F4C96 #3F64C3 #6E8AD2

Accessibility & contrast

On white

8.09
#2F4C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2F4C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C96
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C96#FFFFFF#000000##FFFFFF
##2F4C961.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#0A4B94
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4c96;
/* rgb */ color: rgb(47, 76, 150);
/* oklch */ color: oklch(43.6% 0.126 265.4);
Tailwind
colors: {
  custom: {
    50: '#747db5',
    500: '#2f4c96',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c96;
$custom-light: #747db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c96",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 150
  },
  "hsl": {
    "h": 223.107,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43565,
    "c": 0.12625,
    "h": 265.4
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#2F4C96
secondary
#B9A268
accent
#B34CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4C96

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

Preview Lab → · Contrast checker → · Palette generator →

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