#2F376D#2F376D

#2F376D is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.093 H 274.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2F376D
RGBrgb(47, 55, 109)
HSLhsl(232, 40%, 31%)
HSVhsv(232, 57%, 43%)
CMYKcmyk(56.9%, 49.5%, 0%, 57.3%)
CIE-LABlab(25.08, 13.94, -32.57)
CIE-LCHlch(25.08, 35.43, 293.17°)
OKLaboklab(35.94% 0.0072 -0.0928)
OKLCHoklch(35.94% 0.093 274.4)
XYZxyz(5.2979, 4.4405, 15.0430)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F376D #6D652F
analogous
#2F566D #2F376D #462F6D
triadic
#2F376D #6D2F37 #376D2F
tetradic
#2F376D #6D2F56 #6D652F #2F6D46
square
#2F376D #6D2F56 #6D652F #2F6D46
split-complementary
#2F376D #6D462F #566D2F
monochromatic
#0A0C17 #1D2142 #2F376D #414D98 #5D69B9

Accessibility & contrast

On white

11.12
#2F376D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F376D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F376D
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F376D#FFFFFF#000000##FFFFFF
##2F376D1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6F
Deuteranopia (green-blind)
#17396C
Tritanopia (blue-blind)
#11434C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f376d;
/* rgb */ color: rgb(47, 55, 109);
/* oklch */ color: oklch(35.9% 0.093 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d6d97',
    500: '#2f376d',
    950: '#000000',
  },
}
SCSS
$custom: #2f376d;
$custom-light: #6d6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#2f376d",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 109
  },
  "hsl": {
    "h": 232.258,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3594,
    "c": 0.09306,
    "h": 274.4
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

primary
#2F376D
secondary
#9E9559
accent
#C058D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2F376D

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

Preview Lab → · Contrast checker → · Palette generator →

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