#2F3592#2F3592

#2F3592 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.151 H 274.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2F3592
RGBrgb(47, 53, 146)
HSLhsl(236, 51%, 38%)
HSVhsv(236, 68%, 57%)
CMYKcmyk(67.8%, 63.7%, 0%, 42.7%)
CIE-LABlab(27.37, 28.78, -52.10)
CIE-LCHlch(27.37, 59.52, 298.92°)
OKLaboklab(38.55% 0.0107 -0.1502)
OKLCHoklch(38.55% 0.151 274.1)
XYZxyz(7.6320, 5.2252, 27.7949)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3592 #928C2F
analogous
#2F6692 #2F3592 #5B2F92
triadic
#2F3592 #922F35 #35922F
tetradic
#2F3592 #922F66 #928C2F #2F925B
square
#2F3592 #922F66 #928C2F #2F925B
split-complementary
#2F3592 #925B2F #66922F
monochromatic
#111335 #202464 #2F3592 #3E46C0 #6C72D0

Accessibility & contrast

On white

10.27
#2F3592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F3592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3592
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3592#FFFFFF#000000##FFFFFF
##2F35921.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f3592;
/* rgb */ color: rgb(47, 53, 146);
/* oklch */ color: oklch(38.5% 0.151 274.1);
Tailwind
colors: {
  custom: {
    50: '#746cb3',
    500: '#2f3592',
    950: '#000000',
  },
}
SCSS
$custom: #2f3592;
$custom-light: #746cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3592",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 146
  },
  "hsl": {
    "h": 236.364,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.15061,
    "h": 274.1
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#2F3592
secondary
#B7B266
accent
#D24DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3592

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

Preview Lab → · Contrast checker → · Palette generator →

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