#2F3588#2F3588

#2F3588 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.137 H 274.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2F3588
RGBrgb(47, 53, 136)
HSLhsl(236, 49%, 36%)
HSVhsv(236, 65%, 53%)
CMYKcmyk(65.4%, 61%, 0%, 46.7%)
CIE-LABlab(26.53, 25.15, -47.28)
CIE-LCHlch(26.53, 53.56, 298.01°)
OKLaboklab(37.66% 0.011 -0.1361)
OKLCHoklch(37.66% 0.137 274.6)
XYZxyz(6.8879, 4.9275, 23.8759)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3588 #88822F
analogous
#2F6188 #2F3588 #552F88
triadic
#2F3588 #882F35 #35882F
tetradic
#2F3588 #882F61 #88822F #2F8855
square
#2F3588 #882F61 #88822F #2F8855
split-complementary
#2F3588 #88552F #61882F
monochromatic
#10122D #1F235B #2F3588 #3F47B5 #676ECA

Accessibility & contrast

On white

10.58
#2F3588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F3588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3588
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3588#FFFFFF#000000##FFFFFF
##2F35881.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f3588;
/* rgb */ color: rgb(47, 53, 136);
/* oklch */ color: oklch(37.7% 0.137 274.6);
Tailwind
colors: {
  custom: {
    50: '#726cab',
    500: '#2f3588',
    950: '#000000',
  },
}
SCSS
$custom: #2f3588;
$custom-light: #726cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3588",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 235.955,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37664,
    "c": 0.13651,
    "h": 274.6
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#2F3588
secondary
#B1AC61
accent
#CF50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2F3588

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

Preview Lab → · Contrast checker → · Palette generator →

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