#2F3689#2F3689

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

Color values

HEX#2F3689
RGBrgb(47, 54, 137)
HSLhsl(235, 49%, 36%)
HSVhsv(235, 66%, 54%)
CMYKcmyk(65.7%, 60.6%, 0%, 46.3%)
CIE-LABlab(26.87, 24.84, -47.34)
CIE-LCHlch(26.87, 53.47, 297.69°)
OKLaboklab(37.95% 0.01 -0.1362)
OKLCHoklch(37.95% 0.137 274.2)
XYZxyz(7.0053, 5.0482, 24.2673)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3689 #89822F
analogous
#2F6389 #2F3689 #552F89
triadic
#2F3689 #892F36 #36892F
tetradic
#2F3689 #892F63 #89822F #2F8955
square
#2F3689 #892F63 #89822F #2F8955
split-complementary
#2F3689 #89552F #63892F
monochromatic
#10122E #1F245B #2F3689 #3F48B7 #676FCB

Accessibility & contrast

On white

10.45
#2F3689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F3689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3689
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3689#FFFFFF#000000##FFFFFF
##2F36891.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f3689;
/* rgb */ color: rgb(47, 54, 137);
/* oklch */ color: oklch(37.9% 0.137 274.2);
Tailwind
colors: {
  custom: {
    50: '#726dac',
    500: '#2f3689',
    950: '#000000',
  },
}
SCSS
$custom: #2f3689;
$custom-light: #726dac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3689",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 235.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37945,
    "c": 0.13661,
    "h": 274.2
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#2F3689
secondary
#B2AC62
accent
#CE4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2F3689

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

Preview Lab → · Contrast checker → · Palette generator →

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