#2F3B92#2F3B92

#2F3B92 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.143 H 272.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2F3B92
RGBrgb(47, 59, 146)
HSLhsl(233, 51%, 38%)
HSVhsv(233, 68%, 57%)
CMYKcmyk(67.8%, 59.6%, 0%, 42.7%)
CIE-LABlab(28.92, 24.79, -49.57)
CIE-LCHlch(28.92, 55.43, 296.57°)
OKLaboklab(39.69% 0.0055 -0.1427)
OKLCHoklch(39.69% 0.143 272.2)
XYZxyz(7.9228, 5.8069, 27.8919)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B92 #92862F
analogous
#2F6C92 #2F3B92 #542F92
triadic
#2F3B92 #922F3B #3B922F
tetradic
#2F3B92 #922F6C #92862F #2F9254
square
#2F3B92 #922F6C #92862F #2F9254
split-complementary
#2F3B92 #92542F #6C922F
monochromatic
#111635 #202864 #2F3B92 #3E4EC0 #6C78D0

Accessibility & contrast

On white

9.72
#2F3B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F3B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B92
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B92#FFFFFF#000000##FFFFFF
##2F3B921.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3b92;
/* rgb */ color: rgb(47, 59, 146);
/* oklch */ color: oklch(39.7% 0.143 272.2);
Tailwind
colors: {
  custom: {
    50: '#7470b3',
    500: '#2f3b92',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b92;
$custom-light: #7470b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b92",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 146
  },
  "hsl": {
    "h": 232.727,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.14285,
    "h": 272.2
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#2F3B92
secondary
#B7AD66
accent
#CA4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3B92

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

Preview Lab → · Contrast checker → · Palette generator →

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