#2F3683#2F3683

#2F3683 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.128 H 274.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2F3683
RGBrgb(47, 54, 131)
HSLhsl(235, 47%, 35%)
HSVhsv(235, 64%, 51%)
CMYKcmyk(64.1%, 58.8%, 0%, 48.6%)
CIE-LABlab(26.39, 22.65, -44.38)
CIE-LCHlch(26.39, 49.83, 297.04°)
OKLaboklab(37.44% 0.01 -0.1275)
OKLCHoklch(37.44% 0.128 274.5)
XYZxyz(6.5868, 4.8808, 22.0633)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3683 #837C2F
analogous
#2F6083 #2F3683 #522F83
triadic
#2F3683 #832F36 #36832F
tetradic
#2F3683 #832F60 #837C2F #2F8352
square
#2F3683 #832F60 #837C2F #2F8352
split-complementary
#2F3683 #83522F #60832F
monochromatic
#0F1129 #1F2356 #2F3683 #3F49B0 #656DC8

Accessibility & contrast

On white

10.63
#2F3683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F3683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3683
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3683#FFFFFF#000000##FFFFFF
##2F36831.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3683;
/* rgb */ color: rgb(47, 54, 131);
/* oklch */ color: oklch(37.4% 0.128 274.5);
Tailwind
colors: {
  custom: {
    50: '#716da8',
    500: '#2f3683',
    950: '#000000',
  },
}
SCSS
$custom: #2f3683;
$custom-light: #716da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3683",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 235,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37438,
    "c": 0.12792,
    "h": 274.5
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#2F3683
secondary
#AFA85F
accent
#CC51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2F3683

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

Preview Lab → · Contrast checker → · Palette generator →

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