#2F3F92#2F3F92

#2F3F92 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.138 H 270.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2F3F92
RGBrgb(47, 63, 146)
HSLhsl(230, 51%, 38%)
HSVhsv(230, 68%, 57%)
CMYKcmyk(67.8%, 56.8%, 0%, 42.7%)
CIE-LABlab(30.00, 22.11, -47.83)
CIE-LCHlch(30.00, 52.69, 294.81°)
OKLaboklab(40.5% 0.0019 -0.1375)
OKLCHoklch(40.5% 0.138 270.8)
XYZxyz(8.1363, 6.2339, 27.9630)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F92 #92822F
analogous
#2F7092 #2F3F92 #502F92
triadic
#2F3F92 #922F3F #3F922F
tetradic
#2F3F92 #922F70 #92822F #2F9250
square
#2F3F92 #922F70 #92822F #2F9250
split-complementary
#2F3F92 #92502F #70922F
monochromatic
#111735 #202B64 #2F3F92 #3E53C0 #6C7CD0

Accessibility & contrast

On white

9.35
#2F3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F3F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3F92
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F92#FFFFFF#000000##FFFFFF
##2F3F921.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3f92;
/* rgb */ color: rgb(47, 63, 146);
/* oklch */ color: oklch(40.5% 0.138 270.8);
Tailwind
colors: {
  custom: {
    50: '#7473b3',
    500: '#2f3f92',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f92;
$custom-light: #7473b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f92",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 230.303,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.13756,
    "h": 270.8
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#2F3F92
secondary
#B7AA66
accent
#C44DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F3F92

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

Preview Lab → · Contrast checker → · Palette generator →

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