#2F3389#2F3389

#2F3389 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.141 H 275.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2F3389
RGBrgb(47, 51, 137)
HSLhsl(237, 49%, 36%)
HSVhsv(237, 66%, 54%)
CMYKcmyk(65.7%, 62.8%, 0%, 46.3%)
CIE-LABlab(26.09, 26.85, -48.61)
CIE-LCHlch(26.09, 55.53, 298.91°)
OKLaboklab(37.37% 0.0128 -0.14)
OKLCHoklch(37.37% 0.141 275.2)
XYZxyz(6.8700, 4.7776, 24.2222)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3389 #89852F
analogous
#2F6089 #2F3389 #582F89
triadic
#2F3389 #892F33 #33892F
tetradic
#2F3389 #892F60 #89852F #2F8958
square
#2F3389 #892F60 #89852F #2F8958
split-complementary
#2F3389 #89582F #60892F
monochromatic
#10112E #1F225B #2F3389 #3F44B7 #676CCB

Accessibility & contrast

On white

10.74
#2F3389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2F3389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3389
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3389#FFFFFF#000000##FFFFFF
##2F33891.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3389;
/* rgb */ color: rgb(47, 51, 137);
/* oklch */ color: oklch(37.4% 0.141 275.2);
Tailwind
colors: {
  custom: {
    50: '#736aac',
    500: '#2f3389',
    950: '#000000',
  },
}
SCSS
$custom: #2f3389;
$custom-light: #736aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3389",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 237.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37368,
    "c": 0.14058,
    "h": 275.2
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3389

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

Preview Lab → · Contrast checker → · Palette generator →

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