#2F3776#2F3776

#2F3776 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.6% C 0.107 H 274.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2F3776
RGBrgb(47, 55, 118)
HSLhsl(233, 43%, 32%)
HSVhsv(233, 60%, 46%)
CMYKcmyk(60.2%, 53.4%, 0%, 53.7%)
CIE-LABlab(25.70, 17.21, -37.32)
CIE-LCHlch(25.70, 41.09, 294.75°)
OKLaboklab(36.61% 0.0082 -0.1067)
OKLCHoklch(36.61% 0.107 274.4)
XYZxyz(5.8074, 4.6443, 17.7264)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3776 #766E2F
analogous
#2F5B76 #2F3776 #4A2F76
triadic
#2F3776 #762F37 #37762F
tetradic
#2F3776 #762F5B #766E2F #2F764A
square
#2F3776 #762F5B #766E2F #2F764A
split-complementary
#2F3776 #764A2F #5B762F
monochromatic
#0C0E1E #1E234A #2F3776 #404BA2 #606BC0

Accessibility & contrast

On white

10.89
#2F3776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F3776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3776
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3776#FFFFFF#000000##FFFFFF
##2F37761.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154078
Deuteranopia (green-blind)
#073A75
Tritanopia (blue-blind)
#014551
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3776;
/* rgb */ color: rgb(47, 55, 118);
/* oklch */ color: oklch(36.6% 0.107 274.4);
Tailwind
colors: {
  custom: {
    50: '#6e6d9e',
    500: '#2f3776',
    950: '#000000',
  },
}
SCSS
$custom: #2f3776;
$custom-light: #6e6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3776",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 118
  },
  "hsl": {
    "h": 233.239,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36607,
    "c": 0.10706,
    "h": 274.4
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#2F3776
secondary
#A79E5A
accent
#C555D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #2F3776

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

Preview Lab → · Contrast checker → · Palette generator →

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