#2F376A#2F376A

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

Color values

HEX#2F376A
RGBrgb(47, 55, 106)
HSLhsl(232, 39%, 30%)
HSVhsv(232, 56%, 42%)
CMYKcmyk(55.7%, 48.1%, 0%, 58.4%)
CIE-LABlab(24.88, 12.86, -30.96)
CIE-LCHlch(24.88, 33.52, 292.56°)
OKLaboklab(35.73% 0.0067 -0.088)
OKLCHoklch(35.73% 0.088 274.4)
XYZxyz(5.1392, 4.3770, 14.2069)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F376A #6A622F
analogous
#2F556A #2F376A #442F6A
triadic
#2F376A #6A2F37 #376A2F
tetradic
#2F376A #6A2F55 #6A622F #2F6A44
square
#2F376A #6A2F55 #6A622F #2F6A44
split-complementary
#2F376A #6A442F #556A2F
monochromatic
#090B15 #1C2140 #2F376A #424D94 #5C69B7

Accessibility & contrast

On white

11.20
#2F376A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F376A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F376A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F376A#FFFFFF#000000##FFFFFF
##2F376A1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6C
Deuteranopia (green-blind)
#1A3969
Tritanopia (blue-blind)
#14424B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f376a;
/* rgb */ color: rgb(47, 55, 106);
/* oklch */ color: oklch(35.7% 0.088 274.4);
Tailwind
colors: {
  custom: {
    50: '#6c6d95',
    500: '#2f376a',
    950: '#000000',
  },
}
SCSS
$custom: #2f376a;
$custom-light: #6c6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#2f376a",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 106
  },
  "hsl": {
    "h": 231.864,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.35726,
    "c": 0.0883,
    "h": 274.4
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#2F376A
secondary
#9B9259
accent
#BF59CE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2F376A

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

Preview Lab → · Contrast checker → · Palette generator →

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