#2F3589#2F3589

#2F3589 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.138 H 274.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2F3589
RGBrgb(47, 53, 137)
HSLhsl(236, 49%, 36%)
HSVhsv(236, 66%, 54%)
CMYKcmyk(65.7%, 61.3%, 0%, 46.3%)
CIE-LABlab(26.61, 25.52, -47.77)
CIE-LCHlch(26.61, 54.16, 298.11°)
OKLaboklab(37.75% 0.011 -0.1375)
OKLCHoklch(37.75% 0.138 274.6)
XYZxyz(6.9593, 4.9561, 24.2519)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3589 #89832F
analogous
#2F6289 #2F3589 #562F89
triadic
#2F3589 #892F35 #35892F
tetradic
#2F3589 #892F62 #89832F #2F8956
square
#2F3589 #892F62 #89832F #2F8956
split-complementary
#2F3589 #89562F #62892F
monochromatic
#10122E #1F235B #2F3589 #3F47B7 #676ECB

Accessibility & contrast

On white

10.55
#2F3589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3589
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3589#FFFFFF#000000##FFFFFF
##2F35891.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3589;
/* rgb */ color: rgb(47, 53, 137);
/* oklch */ color: oklch(37.8% 0.138 274.6);
Tailwind
colors: {
  custom: {
    50: '#726cac',
    500: '#2f3589',
    950: '#000000',
  },
}
SCSS
$custom: #2f3589;
$custom-light: #726cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3589",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 236,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37751,
    "c": 0.13795,
    "h": 274.6
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#2F3589
secondary
#B2AD62
accent
#CF4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2F3589

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

Preview Lab → · Contrast checker → · Palette generator →

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