#2F376E#2F376E

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

Color values

HEX#2F376E
RGBrgb(47, 55, 110)
HSLhsl(232, 40%, 31%)
HSVhsv(232, 57%, 43%)
CMYKcmyk(57.3%, 50%, 0%, 56.9%)
CIE-LABlab(25.14, 14.30, -33.10)
CIE-LCHlch(25.14, 36.06, 293.36°)
OKLaboklab(36.01% 0.0073 -0.0943)
OKLCHoklch(36.01% 0.095 274.4)
XYZxyz(5.3520, 4.4621, 15.3281)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F376E #6E662F
analogous
#2F566E #2F376E #462F6E
triadic
#2F376E #6E2F37 #376E2F
tetradic
#2F376E #6E2F56 #6E662F #2F6E46
square
#2F376E #6E2F56 #6E662F #2F6E46
split-complementary
#2F376E #6E462F #566E2F
monochromatic
#0A0C18 #1D2243 #2F376E #414C99 #5D69BA

Accessibility & contrast

On white

11.10
#2F376E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F376E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F376E#FFFFFF#000000##FFFFFF
##2F376E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E70
Deuteranopia (green-blind)
#16396D
Tritanopia (blue-blind)
#0F434D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f376e;
/* rgb */ color: rgb(47, 55, 110);
/* oklch */ color: oklch(36.0% 0.095 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d6d98',
    500: '#2f376e',
    950: '#000000',
  },
}
SCSS
$custom: #2f376e;
$custom-light: #6d6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#2f376e",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 110
  },
  "hsl": {
    "h": 232.381,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36012,
    "c": 0.09463,
    "h": 274.4
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#2F376E
secondary
#9F9659
accent
#C158D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2F376E

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

Preview Lab → · Contrast checker → · Palette generator →

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