#2F4891#2F4891

#2F4891 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.124 H 266.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2F4891
RGBrgb(47, 72, 145)
HSLhsl(225, 51%, 38%)
HSVhsv(225, 68%, 57%)
CMYKcmyk(67.6%, 50.3%, 0%, 43.1%)
CIE-LABlab(32.44, 15.66, -43.26)
CIE-LCHlch(32.44, 46.01, 289.90°)
OKLaboklab(42.32% -0.0069 -0.124)
OKLCHoklch(42.32% 0.124 266.8)
XYZxyz(8.5987, 7.2826, 27.7351)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4891 #91782F
analogous
#2F7991 #2F4891 #472F91
triadic
#2F4891 #912F48 #48912F
tetradic
#2F4891 #912F79 #91782F #2F9147
square
#2F4891 #912F79 #91782F #2F9147
split-complementary
#2F4891 #91472F #79912F
monochromatic
#111A35 #203163 #2F4891 #3E5FBF #6B85CF

Accessibility & contrast

On white

8.55
#2F4891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F4891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4891
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4891#FFFFFF#000000##FFFFFF
##2F48911.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#054890
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4891;
/* rgb */ color: rgb(47, 72, 145);
/* oklch */ color: oklch(42.3% 0.124 266.8);
Tailwind
colors: {
  custom: {
    50: '#737ab2',
    500: '#2f4891',
    950: '#000000',
  },
}
SCSS
$custom: #2f4891;
$custom-light: #737ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4891",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 224.694,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.12418,
    "h": 266.8
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#2F4891
secondary
#B6A265
accent
#B64DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4891

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

Preview Lab → · Contrast checker → · Palette generator →

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