#2F3189#2F3189

#2F3189 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.143 H 275.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2F3189
RGBrgb(47, 49, 137)
HSLhsl(239, 49%, 36%)
HSVhsv(239, 66%, 54%)
CMYKcmyk(65.7%, 64.2%, 0%, 46.3%)
CIE-LABlab(25.58, 28.17, -49.44)
CIE-LCHlch(25.58, 56.91, 299.68°)
OKLaboklab(36.99% 0.0146 -0.1424)
OKLCHoklch(36.99% 0.143 275.9)
XYZxyz(6.7845, 4.6065, 24.1937)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3189 #89872F
analogous
#2F5E89 #2F3189 #5A2F89
triadic
#2F3189 #892F31 #31892F
tetradic
#2F3189 #892F5E #89872F #2F895A
square
#2F3189 #892F5E #89872F #2F895A
split-complementary
#2F3189 #895A2F #5E892F
monochromatic
#10102E #1F215B #2F3189 #3F41B7 #676ACB

Accessibility & contrast

On white

10.93
#2F3189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F3189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3189
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3189#FFFFFF#000000##FFFFFF
##2F31891.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3189;
/* rgb */ color: rgb(47, 49, 137);
/* oklch */ color: oklch(37.0% 0.143 275.9);
Tailwind
colors: {
  custom: {
    50: '#7369ac',
    500: '#2f3189',
    950: '#000000',
  },
}
SCSS
$custom: #2f3189;
$custom-light: #7369ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3189",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 238.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36995,
    "c": 0.1432,
    "h": 275.9
  },
  "luminance": 0.04607
}

Semantic roles & 50–950 ramp

primary
#2F3189
secondary
#B2B062
accent
#D54FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3189

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

Preview Lab → · Contrast checker → · Palette generator →

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