#2F3590#2F3590

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

Color values

HEX#2F3590
RGBrgb(47, 53, 144)
HSLhsl(236, 51%, 37%)
HSVhsv(236, 67%, 56%)
CMYKcmyk(67.4%, 63.2%, 0%, 43.5%)
CIE-LABlab(27.20, 28.06, -51.15)
CIE-LCHlch(27.20, 58.34, 298.75°)
OKLaboklab(38.37% 0.0108 -0.1474)
OKLCHoklch(38.37% 0.148 274.2)
XYZxyz(7.4778, 5.1635, 26.9827)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3590 #908A2F
analogous
#2F6590 #2F3590 #5A2F90
triadic
#2F3590 #902F35 #35902F
tetradic
#2F3590 #902F65 #908A2F #2F905A
square
#2F3590 #902F65 #908A2F #2F905A
split-complementary
#2F3590 #905A2F #65902F
monochromatic
#111334 #202462 #2F3590 #3E46BE #6B71CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3590#FFFFFF#000000##FFFFFF
##2F35901.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)
#004593
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f3590;
/* rgb */ color: rgb(47, 53, 144);
/* oklch */ color: oklch(38.4% 0.148 274.2);
Tailwind
colors: {
  custom: {
    50: '#746cb1',
    500: '#2f3590',
    950: '#000000',
  },
}
SCSS
$custom: #2f3590;
$custom-light: #746cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3590",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 144
  },
  "hsl": {
    "h": 236.289,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38366,
    "c": 0.14782,
    "h": 274.2
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#2F3590
secondary
#B6B165
accent
#D24EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3590

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

Preview Lab → · Contrast checker → · Palette generator →

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