#2F3491#2F3491

#2F3491 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.150 H 274.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2F3491
RGBrgb(47, 52, 145)
HSLhsl(237, 51%, 38%)
HSVhsv(237, 68%, 57%)
CMYKcmyk(67.6%, 64.1%, 0%, 43.1%)
CIE-LABlab(27.03, 29.08, -52.04)
CIE-LCHlch(27.03, 59.61, 299.20°)
OKLaboklab(38.27% 0.0116 -0.15)
OKLCHoklch(38.27% 0.15 274.4)
XYZxyz(7.5094, 5.1040, 27.3720)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3491 #918C2F
analogous
#2F6591 #2F3491 #5B2F91
triadic
#2F3491 #912F34 #34912F
tetradic
#2F3491 #912F65 #918C2F #2F915B
square
#2F3491 #912F65 #918C2F #2F915B
split-complementary
#2F3491 #915B2F #65912F
monochromatic
#111335 #202363 #2F3491 #3E45BF #6B70CF

Accessibility & contrast

On white

10.39
#2F3491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F3491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3491
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3491#FFFFFF#000000##FFFFFF
##2F34911.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f3491;
/* rgb */ color: rgb(47, 52, 145);
/* oklch */ color: oklch(38.3% 0.150 274.4);
Tailwind
colors: {
  custom: {
    50: '#746bb2',
    500: '#2f3491',
    950: '#000000',
  },
}
SCSS
$custom: #2f3491;
$custom-light: #746bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3491",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 145
  },
  "hsl": {
    "h": 236.939,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38271,
    "c": 0.15049,
    "h": 274.4
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#2F3491
secondary
#B6B265
accent
#D34DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F3491

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

Preview Lab → · Contrast checker → · Palette generator →

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