#2F3493#2F3493

#2F3493 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.153 H 274.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2F3493
RGBrgb(47, 52, 147)
HSLhsl(237, 52%, 38%)
HSVhsv(237, 68%, 58%)
CMYKcmyk(68%, 64.6%, 0%, 42.4%)
CIE-LABlab(27.20, 29.80, -52.98)
CIE-LCHlch(27.20, 60.79, 299.35°)
OKLaboklab(38.45% 0.0114 -0.1528)
OKLCHoklch(38.45% 0.153 274.3)
XYZxyz(7.6650, 5.1662, 28.1913)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3493 #938E2F
analogous
#2F6693 #2F3493 #5C2F93
triadic
#2F3493 #932F34 #34932F
tetradic
#2F3493 #932F66 #938E2F #2F935C
square
#2F3493 #932F66 #938E2F #2F935C
split-complementary
#2F3493 #935C2F #66932F
monochromatic
#111336 #202465 #2F3493 #3E44C1 #6C71D0

Accessibility & contrast

On white

10.33
#2F3493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3493
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3493#FFFFFF#000000##FFFFFF
##2F34931.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3493;
/* rgb */ color: rgb(47, 52, 147);
/* oklch */ color: oklch(38.5% 0.153 274.3);
Tailwind
colors: {
  custom: {
    50: '#756bb4',
    500: '#2f3493',
    950: '#000000',
  },
}
SCSS
$custom: #2f3493;
$custom-light: #756bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3493",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 147
  },
  "hsl": {
    "h": 237,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38452,
    "c": 0.15325,
    "h": 274.3
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3493

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

Preview Lab → · Contrast checker → · Palette generator →

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