#2F4A92#2F4A92

#2F4A92 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.123 H 265.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2F4A92
RGBrgb(47, 74, 146)
HSLhsl(224, 51%, 38%)
HSVhsv(224, 68%, 57%)
CMYKcmyk(67.8%, 49.3%, 0%, 42.7%)
CIE-LABlab(33.08, 14.69, -42.84)
CIE-LCHlch(33.08, 45.29, 288.93°)
OKLaboklab(42.83% -0.0087 -0.1227)
OKLCHoklch(42.83% 0.123 265.9)
XYZxyz(8.8076, 7.5764, 28.1868)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A92 #92772F
analogous
#2F7B92 #2F4A92 #452F92
triadic
#2F4A92 #922F4A #4A922F
tetradic
#2F4A92 #922F7B #92772F #2F9245
square
#2F4A92 #922F7B #92772F #2F9245
split-complementary
#2F4A92 #92452F #7B922F
monochromatic
#111B35 #203364 #2F4A92 #3E61C0 #6C87D0

Accessibility & contrast

On white

8.35
#2F4A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2F4A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A92
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A92#FFFFFF#000000##FFFFFF
##2F4A921.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#0D4A91
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f4a92;
/* rgb */ color: rgb(47, 74, 146);
/* oklch */ color: oklch(42.8% 0.123 265.9);
Tailwind
colors: {
  custom: {
    50: '#737cb2',
    500: '#2f4a92',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a92;
$custom-light: #737cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a92",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 146
  },
  "hsl": {
    "h": 223.636,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.12302,
    "h": 265.9
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#2F4A92
secondary
#B7A166
accent
#B44DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4A92

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

Preview Lab → · Contrast checker → · Palette generator →

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