#2F3594#2F3594

#2F3594 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.153 H 273.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2F3594
RGBrgb(47, 53, 148)
HSLhsl(236, 52%, 38%)
HSVhsv(236, 68%, 58%)
CMYKcmyk(68.2%, 64.2%, 0%, 42%)
CIE-LABlab(27.54, 29.51, -53.05)
CIE-LCHlch(27.54, 60.70, 299.08°)
OKLaboklab(38.73% 0.0106 -0.153)
OKLCHoklch(38.73% 0.153 273.9)
XYZxyz(7.7889, 5.2880, 28.6214)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3594 #948E2F
analogous
#2F6794 #2F3594 #5B2F94
triadic
#2F3594 #942F35 #35942F
tetradic
#2F3594 #942F67 #948E2F #2F945B
square
#2F3594 #942F67 #948E2F #2F945B
split-complementary
#2F3594 #945B2F #67942F
monochromatic
#111437 #202466 #2F3594 #3E46C2 #6D73D1

Accessibility & contrast

On white

10.21
#2F3594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2F3594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3594
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3594#FFFFFF#000000##FFFFFF
##2F35941.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f3594;
/* rgb */ color: rgb(47, 53, 148);
/* oklch */ color: oklch(38.7% 0.153 273.9);
Tailwind
colors: {
  custom: {
    50: '#756cb4',
    500: '#2f3594',
    950: '#000000',
  },
}
SCSS
$custom: #2f3594;
$custom-light: #756cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3594",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 148
  },
  "hsl": {
    "h": 236.436,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38726,
    "c": 0.15337,
    "h": 273.9
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#2F3594
secondary
#B8B367
accent
#D34DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3594

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

Preview Lab → · Contrast checker → · Palette generator →

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