#2F3190#2F3190

#2F3190 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.153 H 275.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2F3190
RGBrgb(47, 49, 144)
HSLhsl(239, 51%, 37%)
HSVhsv(239, 67%, 56%)
CMYKcmyk(67.4%, 66%, 0%, 43.5%)
CIE-LABlab(26.20, 30.68, -52.78)
CIE-LCHlch(26.20, 61.05, 300.17°)
OKLaboklab(37.64% 0.0141 -0.1522)
OKLCHoklch(37.64% 0.153 275.3)
XYZxyz(7.3030, 4.8139, 26.9245)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3190 #908E2F
analogous
#2F6190 #2F3190 #5E2F90
triadic
#2F3190 #902F31 #31902F
tetradic
#2F3190 #902F61 #908E2F #2F905E
square
#2F3190 #902F61 #908E2F #2F905E
split-complementary
#2F3190 #905E2F #61902F
monochromatic
#111234 #202162 #2F3190 #3E41BE #6B6DCF

Accessibility & contrast

On white

10.70
#2F3190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2F3190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3190
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3190#FFFFFF#000000##FFFFFF
##2F31901.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3190;
/* rgb */ color: rgb(47, 49, 144);
/* oklch */ color: oklch(37.6% 0.153 275.3);
Tailwind
colors: {
  custom: {
    50: '#7469b1',
    500: '#2f3190',
    950: '#000000',
  },
}
SCSS
$custom: #2f3190;
$custom-light: #7469b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3190",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 238.763,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37635,
    "c": 0.15289,
    "h": 275.3
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#2F3190
secondary
#B6B465
accent
#D74EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F3190

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

Preview Lab → · Contrast checker → · Palette generator →

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