#2F3276#2F3276

#2F3276 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.6% C 0.114 H 277.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2F3276
RGBrgb(47, 50, 118)
HSLhsl(237, 43%, 32%)
HSVhsv(237, 60%, 46%)
CMYKcmyk(60.2%, 57.6%, 0%, 53.7%)
CIE-LABlab(24.30, 20.64, -39.57)
CIE-LCHlch(24.30, 44.63, 297.55°)
OKLaboklab(35.56% 0.0139 -0.1134)
OKLCHoklch(35.56% 0.114 277)
XYZxyz(5.5819, 4.1931, 17.6512)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3276 #76732F
analogous
#2F5576 #2F3276 #502F76
triadic
#2F3276 #762F32 #32762F
tetradic
#2F3276 #762F55 #76732F #2F7650
square
#2F3276 #762F55 #76732F #2F7650
split-complementary
#2F3276 #76502F #55762F
monochromatic
#0C0D1E #1E1F4A #2F3276 #4045A2 #6064C0

Accessibility & contrast

On white

11.42
#2F3276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F3276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3276
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3276#FFFFFF#000000##FFFFFF
##2F32761.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D78
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#03424F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3276;
/* rgb */ color: rgb(47, 50, 118);
/* oklch */ color: oklch(35.6% 0.114 277.0);
Tailwind
colors: {
  custom: {
    50: '#6f699e',
    500: '#2f3276',
    950: '#000000',
  },
}
SCSS
$custom: #2f3276;
$custom-light: #6f699e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3276",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 237.465,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3556,
    "c": 0.11427,
    "h": 277
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#2F3276
secondary
#A7A35A
accent
#CD55D3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2F3276

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

Preview Lab → · Contrast checker → · Palette generator →

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