#2F3193#2F3193

#2F3193 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.157 H 275.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2F3193
RGBrgb(47, 49, 147)
HSLhsl(239, 52%, 38%)
HSVhsv(239, 68%, 58%)
CMYKcmyk(68%, 66.7%, 0%, 42.4%)
CIE-LABlab(26.47, 31.74, -54.19)
CIE-LCHlch(26.47, 62.80, 300.36°)
OKLaboklab(37.92% 0.0138 -0.1564)
OKLCHoklch(37.92% 0.157 275.1)
XYZxyz(7.5353, 4.9069, 28.1481)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3193 #93912F
analogous
#2F6393 #2F3193 #5F2F93
triadic
#2F3193 #932F31 #31932F
tetradic
#2F3193 #932F63 #93912F #2F935F
square
#2F3193 #932F63 #93912F #2F935F
split-complementary
#2F3193 #935F2F #63932F
monochromatic
#111236 #202265 #2F3193 #3E41C1 #6C6ED0

Accessibility & contrast

On white

10.60
#2F3193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F3193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3193
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3193#FFFFFF#000000##FFFFFF
##2F31931.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f3193;
/* rgb */ color: rgb(47, 49, 147);
/* oklch */ color: oklch(37.9% 0.157 275.1);
Tailwind
colors: {
  custom: {
    50: '#7569b4',
    500: '#2f3193',
    950: '#000000',
  },
}
SCSS
$custom: #2f3193;
$custom-light: #7569b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3193",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 238.8,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37915,
    "c": 0.15698,
    "h": 275.1
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#2F3193
secondary
#B7B666
accent
#D84DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F3193

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

Preview Lab → · Contrast checker → · Palette generator →

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