#2F4466#2F4466

#2F4466 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.5% C 0.064 H 259.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2F4466
RGBrgb(47, 68, 102)
HSLhsl(217, 37%, 29%)
HSVhsv(217, 54%, 40%)
CMYKcmyk(53.9%, 33.3%, 0%, 60%)
CIE-LABlab(28.64, 2.59, -22.45)
CIE-LCHlch(28.64, 22.60, 276.58°)
OKLaboklab(38.55% -0.0114 -0.0631)
OKLCHoklch(38.55% 0.064 259.7)
XYZxyz(5.6369, 5.6975, 13.3705)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4466 #66512F
analogous
#2F6066 #2F4466 #362F66
triadic
#2F4466 #662F44 #44662F
tetradic
#2F4466 #662F60 #66512F #2F6636
square
#2F4466 #662F60 #66512F #2F6636
split-complementary
#2F4466 #66362F #60662F
monochromatic
#0A0E15 #1C283C #2F4466 #426090 #5C7DB4

Accessibility & contrast

On white

9.81
#2F4466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F4466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4466
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4466#FFFFFF#000000##FFFFFF
##2F44661.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374667
Deuteranopia (green-blind)
#304165
Tritanopia (blue-blind)
#154B50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4466;
/* rgb */ color: rgb(47, 68, 102);
/* oklch */ color: oklch(38.5% 0.064 259.7);
Tailwind
colors: {
  custom: {
    50: '#6b7792',
    500: '#2f4466',
    950: '#000000',
  },
}
SCSS
$custom: #2f4466;
$custom-light: #6b7792;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4466",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 102
  },
  "hsl": {
    "h": 217.091,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.06414,
    "h": 259.7
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#2F4466
secondary
#988059
accent
#A15BCD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #2F4466

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

Preview Lab → · Contrast checker → · Palette generator →

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