#2F3688#2F3688

#2F3688 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.135 H 274.3°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2F3688
RGBrgb(47, 54, 136)
HSLhsl(235, 49%, 36%)
HSVhsv(235, 65%, 53%)
CMYKcmyk(65.4%, 60.3%, 0%, 46.7%)
CIE-LABlab(26.79, 24.48, -46.85)
CIE-LCHlch(26.79, 52.86, 297.58°)
OKLaboklab(37.86% 0.0101 -0.1348)
OKLCHoklch(37.86% 0.135 274.3)
XYZxyz(6.9339, 5.0197, 23.8913)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3688 #88812F
analogous
#2F6288 #2F3688 #542F88
triadic
#2F3688 #882F36 #36882F
tetradic
#2F3688 #882F62 #88812F #2F8854
square
#2F3688 #882F62 #88812F #2F8854
split-complementary
#2F3688 #88542F #62882F
monochromatic
#10122D #1F245B #2F3688 #3F48B5 #676FCA

Accessibility & contrast

On white

10.48
#2F3688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F3688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3688
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3688#FFFFFF#000000##FFFFFF
##2F36881.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3688;
/* rgb */ color: rgb(47, 54, 136);
/* oklch */ color: oklch(37.9% 0.135 274.3);
Tailwind
colors: {
  custom: {
    50: '#726dab',
    500: '#2f3688',
    950: '#000000',
  },
}
SCSS
$custom: #2f3688;
$custom-light: #726dab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3688",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 235.281,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37859,
    "c": 0.13517,
    "h": 274.3
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#2F3688
secondary
#B1AB61
accent
#CD50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2F3688

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

Preview Lab → · Contrast checker → · Palette generator →

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