#2F4B91#2F4B91

#2F4B91 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.120 H 265.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2F4B91
RGBrgb(47, 75, 145)
HSLhsl(223, 51%, 38%)
HSVhsv(223, 68%, 57%)
CMYKcmyk(67.6%, 48.3%, 0%, 43.1%)
CIE-LABlab(33.31, 13.64, -41.87)
CIE-LCHlch(33.31, 44.04, 288.05°)
OKLaboklab(42.98% -0.0099 -0.1198)
OKLCHoklch(42.98% 0.12 265.3)
XYZxyz(8.7974, 7.6800, 27.8013)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B91 #91752F
analogous
#2F7C91 #2F4B91 #442F91
triadic
#2F4B91 #912F4B #4B912F
tetradic
#2F4B91 #912F7C #91752F #2F9144
square
#2F4B91 #912F7C #91752F #2F9144
split-complementary
#2F4B91 #91442F #7C912F
monochromatic
#111B35 #203363 #2F4B91 #3E63BF #6B88CF

Accessibility & contrast

On white

8.28
#2F4B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2F4B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B91
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B91#FFFFFF#000000##FFFFFF
##2F4B911.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#134A90
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f4b91;
/* rgb */ color: rgb(47, 75, 145);
/* oklch */ color: oklch(43.0% 0.120 265.3);
Tailwind
colors: {
  custom: {
    50: '#737cb2',
    500: '#2f4b91',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b91;
$custom-light: #737cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b91",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 145
  },
  "hsl": {
    "h": 222.857,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.12026,
    "h": 265.3
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#2F4B91
secondary
#B69F65
accent
#B24DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4B91

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

Preview Lab → · Contrast checker → · Palette generator →

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