#2F3E92#2F3E92

#2F3E92 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.139 H 271.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2F3E92
RGBrgb(47, 62, 146)
HSLhsl(231, 51%, 38%)
HSVhsv(231, 68%, 57%)
CMYKcmyk(67.8%, 57.5%, 0%, 42.7%)
CIE-LABlab(29.72, 22.78, -48.27)
CIE-LCHlch(29.72, 53.37, 295.27°)
OKLaboklab(40.29% 0.0028 -0.1389)
OKLCHoklch(40.29% 0.139 271.1)
XYZxyz(8.0815, 6.1242, 27.9447)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E92 #92832F
analogous
#2F6F92 #2F3E92 #512F92
triadic
#2F3E92 #922F3E #3E922F
tetradic
#2F3E92 #922F6F #92832F #2F9251
square
#2F3E92 #922F6F #92832F #2F9251
split-complementary
#2F3E92 #92512F #6F922F
monochromatic
#111735 #202A64 #2F3E92 #3E52C0 #6C7BD0

Accessibility & contrast

On white

9.44
#2F3E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F3E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E92
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E92#FFFFFF#000000##FFFFFF
##2F3E921.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f3e92;
/* rgb */ color: rgb(47, 62, 146);
/* oklch */ color: oklch(40.3% 0.139 271.1);
Tailwind
colors: {
  custom: {
    50: '#7473b3',
    500: '#2f3e92',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e92;
$custom-light: #7473b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e92",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 146
  },
  "hsl": {
    "h": 230.909,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40293,
    "c": 0.13889,
    "h": 271.1
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#2F3E92
secondary
#B7AB66
accent
#C54DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F3E92

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

Preview Lab → · Contrast checker → · Palette generator →

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