#2F3B91#2F3B91

#2F3B91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.141 H 272.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2F3B91
RGBrgb(47, 59, 145)
HSLhsl(233, 51%, 38%)
HSVhsv(233, 68%, 57%)
CMYKcmyk(67.6%, 59.3%, 0%, 43.1%)
CIE-LABlab(28.84, 24.43, -49.09)
CIE-LCHlch(28.84, 54.83, 296.46°)
OKLaboklab(39.61% 0.0055 -0.1413)
OKLCHoklch(39.61% 0.141 272.2)
XYZxyz(7.8454, 5.7759, 27.4840)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B91 #91852F
analogous
#2F6C91 #2F3B91 #542F91
triadic
#2F3B91 #912F3B #3B912F
tetradic
#2F3B91 #912F6C #91852F #2F9154
square
#2F3B91 #912F6C #91852F #2F9154
split-complementary
#2F3B91 #91542F #6C912F
monochromatic
#111535 #202863 #2F3B91 #3E4EBF #6B78CF

Accessibility & contrast

On white

9.74
#2F3B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F3B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B91
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B91#FFFFFF#000000##FFFFFF
##2F3B911.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f3b91;
/* rgb */ color: rgb(47, 59, 145);
/* oklch */ color: oklch(39.6% 0.141 272.2);
Tailwind
colors: {
  custom: {
    50: '#7470b2',
    500: '#2f3b91',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b91;
$custom-light: #7470b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b91",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 232.653,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39609,
    "c": 0.14142,
    "h": 272.2
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#2F3B91
secondary
#B6AC65
accent
#C94DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3B91

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

Preview Lab → · Contrast checker → · Palette generator →

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