#2F3C92#2F3C92

#2F3C92 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.142 H 271.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2F3C92
RGBrgb(47, 60, 146)
HSLhsl(232, 51%, 38%)
HSVhsv(232, 68%, 57%)
CMYKcmyk(67.8%, 58.9%, 0%, 42.7%)
CIE-LABlab(29.19, 24.12, -49.14)
CIE-LCHlch(29.19, 54.74, 296.15°)
OKLaboklab(39.89% 0.0046 -0.1414)
OKLCHoklch(39.89% 0.142 271.9)
XYZxyz(7.9747, 5.9107, 27.9092)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C92 #92852F
analogous
#2F6D92 #2F3C92 #532F92
triadic
#2F3C92 #922F3C #3C922F
tetradic
#2F3C92 #922F6D #92852F #2F9253
square
#2F3C92 #922F6D #92852F #2F9253
split-complementary
#2F3C92 #92532F #6D922F
monochromatic
#111635 #202964 #2F3C92 #3E4FC0 #6C79D0

Accessibility & contrast

On white

9.62
#2F3C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2F3C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3C92
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C92#FFFFFF#000000##FFFFFF
##2F3C921.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f3c92;
/* rgb */ color: rgb(47, 60, 146);
/* oklch */ color: oklch(39.9% 0.142 271.9);
Tailwind
colors: {
  custom: {
    50: '#7471b3',
    500: '#2f3c92',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c92;
$custom-light: #7471b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c92",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 232.121,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39892,
    "c": 0.14152,
    "h": 271.9
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#2F3C92
secondary
#B7AC66
accent
#C84DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3C92

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

Preview Lab → · Contrast checker → · Palette generator →

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