#2F376F#2F376F

#2F376F is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.096 H 274.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2F376F
RGBrgb(47, 55, 111)
HSLhsl(233, 41%, 31%)
HSVhsv(233, 58%, 44%)
CMYKcmyk(57.7%, 50.5%, 0%, 56.5%)
CIE-LABlab(25.21, 14.66, -33.64)
CIE-LCHlch(25.21, 36.69, 293.55°)
OKLaboklab(36.08% 0.0074 -0.0959)
OKLCHoklch(36.08% 0.096 274.4)
XYZxyz(5.4068, 4.4840, 15.6164)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F376F #6F672F
analogous
#2F576F #2F376F #472F6F
triadic
#2F376F #6F2F37 #376F2F
tetradic
#2F376F #6F2F57 #6F672F #2F6F47
square
#2F376F #6F2F57 #6F672F #2F6F47
split-complementary
#2F376F #6F472F #576F2F
monochromatic
#0B0C19 #1D2244 #2F376F #414C9A #5E69BB

Accessibility & contrast

On white

11.07
#2F376F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F376F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F376F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F376F#FFFFFF#000000##FFFFFF
##2F376F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#14396E
Tritanopia (blue-blind)
#0E434D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f376f;
/* rgb */ color: rgb(47, 55, 111);
/* oklch */ color: oklch(36.1% 0.096 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d6d99',
    500: '#2f376f',
    950: '#000000',
  },
}
SCSS
$custom: #2f376f;
$custom-light: #6d6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f376f",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 111
  },
  "hsl": {
    "h": 232.5,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36084,
    "c": 0.0962,
    "h": 274.4
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#2F376F
secondary
#A09759
accent
#C157D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2F376F

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

Preview Lab → · Contrast checker → · Palette generator →

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