#2F4166#2F4166

#2F4166 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.068 H 263.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2F4166
RGBrgb(47, 65, 102)
HSLhsl(220, 37%, 29%)
HSVhsv(220, 54%, 40%)
CMYKcmyk(53.9%, 36.3%, 0%, 60%)
CIE-LABlab(27.69, 4.59, -23.93)
CIE-LCHlch(27.69, 24.37, 280.87°)
OKLaboklab(37.81% -0.0074 -0.0674)
OKLCHoklch(37.81% 0.068 263.7)
XYZxyz(5.4601, 5.3439, 13.3115)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4166 #66542F
analogous
#2F5D66 #2F4166 #392F66
triadic
#2F4166 #662F41 #41662F
tetradic
#2F4166 #662F5D #66542F #2F6639
square
#2F4166 #662F5D #66542F #2F6639
split-complementary
#2F4166 #66392F #5D662F
monochromatic
#0A0D15 #1C263C #2F4166 #425C90 #5C78B4

Accessibility & contrast

On white

10.15
#2F4166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2F4166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4166
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4166#FFFFFF#000000##FFFFFF
##2F41661.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334468
Deuteranopia (green-blind)
#2C3F65
Tritanopia (blue-blind)
#16494E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f4166;
/* rgb */ color: rgb(47, 65, 102);
/* oklch */ color: oklch(37.8% 0.068 263.7);
Tailwind
colors: {
  custom: {
    50: '#6b7592',
    500: '#2f4166',
    950: '#000000',
  },
}
SCSS
$custom: #2f4166;
$custom-light: #6b7592;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4166",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 220.364,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.06783,
    "h": 263.7
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#2F4166
secondary
#988359
accent
#A85BCD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #2F4166

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

Preview Lab → · Contrast checker → · Palette generator →

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