#2F3489#2F3489

#2F3489 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.139 H 274.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2F3489
RGBrgb(47, 52, 137)
HSLhsl(237, 49%, 36%)
HSVhsv(237, 66%, 54%)
CMYKcmyk(65.7%, 62%, 0%, 46.3%)
CIE-LABlab(26.35, 26.18, -48.19)
CIE-LCHlch(26.35, 54.85, 298.52°)
OKLaboklab(37.56% 0.0119 -0.1388)
OKLCHoklch(37.56% 0.139 274.9)
XYZxyz(6.9142, 4.8659, 24.2369)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3489 #89842F
analogous
#2F6189 #2F3489 #572F89
triadic
#2F3489 #892F34 #34892F
tetradic
#2F3489 #892F61 #89842F #2F8957
square
#2F3489 #892F61 #89842F #2F8957
split-complementary
#2F3489 #89572F #61892F
monochromatic
#10112E #1F235B #2F3489 #3F45B7 #676DCB

Accessibility & contrast

On white

10.64
#2F3489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F3489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3489
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3489#FFFFFF#000000##FFFFFF
##2F34891.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3489;
/* rgb */ color: rgb(47, 52, 137);
/* oklch */ color: oklch(37.6% 0.139 274.9);
Tailwind
colors: {
  custom: {
    50: '#736bac',
    500: '#2f3489',
    950: '#000000',
  },
}
SCSS
$custom: #2f3489;
$custom-light: #736bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3489",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 137
  },
  "hsl": {
    "h": 236.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37558,
    "c": 0.13927,
    "h": 274.9
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#2F3489
secondary
#B2AE62
accent
#D14FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3489

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

Preview Lab → · Contrast checker → · Palette generator →

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