#2F3D92#2F3D92

#2F3D92 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.140 H 271.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2F3D92
RGBrgb(47, 61, 146)
HSLhsl(232, 51%, 38%)
HSVhsv(232, 68%, 57%)
CMYKcmyk(67.8%, 58.2%, 0%, 42.7%)
CIE-LABlab(29.45, 23.45, -48.70)
CIE-LCHlch(29.45, 54.06, 295.71°)
OKLaboklab(40.09% 0.0037 -0.1402)
OKLCHoklch(40.09% 0.14 271.5)
XYZxyz(8.0276, 6.0164, 27.9268)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D92 #92842F
analogous
#2F6E92 #2F3D92 #522F92
triadic
#2F3D92 #922F3D #3D922F
tetradic
#2F3D92 #922F6E #92842F #2F9252
square
#2F3D92 #922F6E #92842F #2F9252
split-complementary
#2F3D92 #92522F #6E922F
monochromatic
#111635 #202A64 #2F3D92 #3E50C0 #6C7AD0

Accessibility & contrast

On white

9.53
#2F3D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2F3D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3D92
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D92#FFFFFF#000000##FFFFFF
##2F3D921.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f3d92;
/* rgb */ color: rgb(47, 61, 146);
/* oklch */ color: oklch(40.1% 0.140 271.5);
Tailwind
colors: {
  custom: {
    50: '#7472b3',
    500: '#2f3d92',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d92;
$custom-light: #7472b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d92",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 146
  },
  "hsl": {
    "h": 231.515,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.14021,
    "h": 271.5
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3D92

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

Preview Lab → · Contrast checker → · Palette generator →

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