#2F4590#2F4590

#2F4590 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.127 H 268.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2F4590
RGBrgb(47, 69, 144)
HSLhsl(226, 51%, 37%)
HSVhsv(226, 67%, 56%)
CMYKcmyk(67.4%, 52.1%, 0%, 43.5%)
CIE-LABlab(31.52, 17.30, -44.14)
CIE-LCHlch(31.52, 47.41, 291.41°)
OKLaboklab(41.6% -0.004 -0.1266)
OKLCHoklch(41.6% 0.127 268.2)
XYZxyz(8.3327, 6.8734, 27.2677)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4590 #907A2F
analogous
#2F7590 #2F4590 #4A2F90
triadic
#2F4590 #902F45 #45902F
tetradic
#2F4590 #902F75 #907A2F #2F904A
square
#2F4590 #902F75 #907A2F #2F904A
split-complementary
#2F4590 #904A2F #75902F
monochromatic
#111934 #202F62 #2F4590 #3E5BBE #6B81CF

Accessibility & contrast

On white

8.84
#2F4590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F4590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4590
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4590#FFFFFF#000000##FFFFFF
##2F45901.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194F93
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4590;
/* rgb */ color: rgb(47, 69, 144);
/* oklch */ color: oklch(41.6% 0.127 268.2);
Tailwind
colors: {
  custom: {
    50: '#7378b1',
    500: '#2f4590',
    950: '#000000',
  },
}
SCSS
$custom: #2f4590;
$custom-light: #7378b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4590",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 144
  },
  "hsl": {
    "h": 226.392,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.12668,
    "h": 268.2
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#2F4590
secondary
#B6A365
accent
#BA4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4590

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

Preview Lab → · Contrast checker → · Palette generator →

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