#2F4592#2F4592

#2F4592 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.130 H 268.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2F4592
RGBrgb(47, 69, 146)
HSLhsl(227, 51%, 38%)
HSVhsv(227, 68%, 57%)
CMYKcmyk(67.8%, 52.7%, 0%, 42.7%)
CIE-LABlab(31.66, 18.06, -45.13)
CIE-LCHlch(31.66, 48.61, 291.80°)
OKLaboklab(41.75% -0.0038 -0.1295)
OKLCHoklch(41.75% 0.13 268.3)
XYZxyz(8.4869, 6.9351, 28.0799)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4592 #927C2F
analogous
#2F7692 #2F4592 #4B2F92
triadic
#2F4592 #922F45 #45922F
tetradic
#2F4592 #922F76 #927C2F #2F924B
square
#2F4592 #922F76 #927C2F #2F924B
split-complementary
#2F4592 #924B2F #76922F
monochromatic
#111935 #202F64 #2F4592 #3E5BC0 #6C82D0

Accessibility & contrast

On white

8.80
#2F4592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2F4592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4592
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4592#FFFFFF#000000##FFFFFF
##2F45921.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4592;
/* rgb */ color: rgb(47, 69, 146);
/* oklch */ color: oklch(41.8% 0.130 268.3);
Tailwind
colors: {
  custom: {
    50: '#7378b2',
    500: '#2f4592',
    950: '#000000',
  },
}
SCSS
$custom: #2f4592;
$custom-light: #7378b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4592",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 226.667,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4175,
    "c": 0.12961,
    "h": 268.3
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#2F4592
secondary
#B7A566
accent
#BB4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4592

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

Preview Lab → · Contrast checker → · Palette generator →

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