#2F3192#2F3192

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

Color values

HEX#2F3192
RGBrgb(47, 49, 146)
HSLhsl(239, 51%, 38%)
HSVhsv(239, 68%, 57%)
CMYKcmyk(67.8%, 66.4%, 0%, 42.7%)
CIE-LABlab(26.38, 31.39, -53.72)
CIE-LCHlch(26.38, 62.22, 300.30°)
OKLaboklab(37.82% 0.0139 -0.155)
OKLCHoklch(37.82% 0.156 275.1)
XYZxyz(7.4572, 4.8756, 27.7367)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3192 #92902F
analogous
#2F6292 #2F3192 #5E2F92
triadic
#2F3192 #922F31 #31922F
tetradic
#2F3192 #922F62 #92902F #2F925E
square
#2F3192 #922F62 #92902F #2F925E
split-complementary
#2F3192 #925E2F #62922F
monochromatic
#111235 #202164 #2F3192 #3E41C0 #6C6ED0

Accessibility & contrast

On white

10.63
#2F3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3192
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3192#FFFFFF#000000##FFFFFF
##2F31921.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3192;
/* rgb */ color: rgb(47, 49, 146);
/* oklch */ color: oklch(37.8% 0.156 275.1);
Tailwind
colors: {
  custom: {
    50: '#7569b3',
    500: '#2f3192',
    950: '#000000',
  },
}
SCSS
$custom: #2f3192;
$custom-light: #7569b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3192",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 238.788,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37821,
    "c": 0.15562,
    "h": 275.1
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3192

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

Preview Lab → · Contrast checker → · Palette generator →

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