#2F3492#2F3492

#2F3492 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.152 H 274.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2F3492
RGBrgb(47, 52, 146)
HSLhsl(237, 51%, 38%)
HSVhsv(237, 68%, 57%)
CMYKcmyk(67.8%, 64.4%, 0%, 42.7%)
CIE-LABlab(27.12, 29.44, -52.51)
CIE-LCHlch(27.12, 60.20, 299.28°)
OKLaboklab(38.36% 0.0115 -0.1514)
OKLCHoklch(38.36% 0.152 274.3)
XYZxyz(7.5869, 5.1350, 27.7799)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3492 #928D2F
analogous
#2F6592 #2F3492 #5C2F92
triadic
#2F3492 #922F34 #34922F
tetradic
#2F3492 #922F65 #928D2F #2F925C
square
#2F3492 #922F65 #928D2F #2F925C
split-complementary
#2F3492 #925C2F #65922F
monochromatic
#111335 #202464 #2F3492 #3E44C0 #6C71D0

Accessibility & contrast

On white

10.36
#2F3492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F3492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3492
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3492#FFFFFF#000000##FFFFFF
##2F34921.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f3492;
/* rgb */ color: rgb(47, 52, 146);
/* oklch */ color: oklch(38.4% 0.152 274.3);
Tailwind
colors: {
  custom: {
    50: '#746bb3',
    500: '#2f3492',
    950: '#000000',
  },
}
SCSS
$custom: #2f3492;
$custom-light: #746bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3492",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 146
  },
  "hsl": {
    "h": 236.97,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38361,
    "c": 0.15188,
    "h": 274.3
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#2F3492
secondary
#B7B366
accent
#D44DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F3492

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

Preview Lab → · Contrast checker → · Palette generator →

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