#2F3676#2F3676

#2F3676 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.108 H 275.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2F3676
RGBrgb(47, 54, 118)
HSLhsl(234, 43%, 32%)
HSVhsv(234, 60%, 46%)
CMYKcmyk(60.2%, 54.2%, 0%, 53.7%)
CIE-LABlab(25.41, 17.90, -37.77)
CIE-LCHlch(25.41, 41.80, 295.35°)
OKLaboklab(36.39% 0.0094 -0.1081)
OKLCHoklch(36.39% 0.109 275)
XYZxyz(5.7604, 4.5503, 17.7108)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3676 #766F2F
analogous
#2F5976 #2F3676 #4C2F76
triadic
#2F3676 #762F36 #36762F
tetradic
#2F3676 #762F59 #766F2F #2F764C
square
#2F3676 #762F59 #766F2F #2F764C
split-complementary
#2F3676 #764C2F #59762F
monochromatic
#0C0E1E #1E224A #2F3676 #404AA2 #6069C0

Accessibility & contrast

On white

10.99
#2F3676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F3676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3676
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3676#FFFFFF#000000##FFFFFF
##2F36761.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123F78
Deuteranopia (green-blind)
#033975
Tritanopia (blue-blind)
#024550
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3676;
/* rgb */ color: rgb(47, 54, 118);
/* oklch */ color: oklch(36.4% 0.108 275.0);
Tailwind
colors: {
  custom: {
    50: '#6f6c9e',
    500: '#2f3676',
    950: '#000000',
  },
}
SCSS
$custom: #2f3676;
$custom-light: #6f6c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3676",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 118
  },
  "hsl": {
    "h": 234.085,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36394,
    "c": 0.1085,
    "h": 275
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#2F3676
secondary
#A79F5A
accent
#C655D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #2F3676

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

Preview Lab → · Contrast checker → · Palette generator →

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