#2F366F#2F366F

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

Color values

HEX#2F366F
RGBrgb(47, 54, 111)
HSLhsl(233, 41%, 31%)
HSVhsv(233, 58%, 44%)
CMYKcmyk(57.7%, 51.4%, 0%, 56.5%)
CIE-LABlab(24.92, 15.35, -34.10)
CIE-LCHlch(24.92, 37.40, 294.24°)
OKLaboklab(35.87% 0.0087 -0.0973)
OKLCHoklch(35.87% 0.098 275.1)
XYZxyz(5.3598, 4.3900, 15.6008)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F366F #6F682F
analogous
#2F566F #2F366F #482F6F
triadic
#2F366F #6F2F36 #366F2F
tetradic
#2F366F #6F2F56 #6F682F #2F6F48
square
#2F366F #6F2F56 #6F682F #2F6F48
split-complementary
#2F366F #6F482F #566F2F
monochromatic
#0B0C19 #1D2144 #2F366F #414B9A #5E68BB

Accessibility & contrast

On white

11.18
#2F366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F366F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F366F#FFFFFF#000000##FFFFFF
##2F366F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#12396E
Tritanopia (blue-blind)
#0E434D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f366f;
/* rgb */ color: rgb(47, 54, 111);
/* oklch */ color: oklch(35.9% 0.098 275.1);
Tailwind
colors: {
  custom: {
    50: '#6d6c99',
    500: '#2f366f',
    950: '#000000',
  },
}
SCSS
$custom: #2f366f;
$custom-light: #6d6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f366f",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 233.438,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35865,
    "c": 0.09767,
    "h": 275.1
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#2F366F
secondary
#A09959
accent
#C357D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2F366F

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

Preview Lab → · Contrast checker → · Palette generator →

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