#2F3593#2F3593

#2F3593 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.152 H 274.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2F3593
RGBrgb(47, 53, 147)
HSLhsl(236, 52%, 38%)
HSVhsv(236, 68%, 58%)
CMYKcmyk(68%, 63.9%, 0%, 42.4%)
CIE-LABlab(27.45, 29.15, -52.58)
CIE-LCHlch(27.45, 60.11, 299.00°)
OKLaboklab(38.64% 0.0106 -0.1516)
OKLCHoklch(38.64% 0.152 274)
XYZxyz(7.7101, 5.2564, 28.2064)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3593 #938D2F
analogous
#2F6793 #2F3593 #5B2F93
triadic
#2F3593 #932F35 #35932F
tetradic
#2F3593 #932F67 #938D2F #2F935B
square
#2F3593 #932F67 #938D2F #2F935B
split-complementary
#2F3593 #935B2F #67932F
monochromatic
#111436 #202465 #2F3593 #3E46C1 #6C72D0

Accessibility & contrast

On white

10.24
#2F3593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F3593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3593
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3593#FFFFFF#000000##FFFFFF
##2F35931.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3593;
/* rgb */ color: rgb(47, 53, 147);
/* oklch */ color: oklch(38.6% 0.152 274.0);
Tailwind
colors: {
  custom: {
    50: '#756cb4',
    500: '#2f3593',
    950: '#000000',
  },
}
SCSS
$custom: #2f3593;
$custom-light: #756cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3593",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 147
  },
  "hsl": {
    "h": 236.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38636,
    "c": 0.15199,
    "h": 274
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#2F3593
secondary
#B7B266
accent
#D24DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3593

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

Preview Lab → · Contrast checker → · Palette generator →

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