#2F466A#2F466A

#2F466A is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.068 H 259.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2F466A
RGBrgb(47, 70, 106)
HSLhsl(217, 39%, 30%)
HSVhsv(217, 56%, 42%)
CMYKcmyk(55.7%, 34%, 0%, 58.4%)
CIE-LABlab(29.47, 2.66, -23.68)
CIE-LCHlch(29.47, 23.83, 276.42°)
OKLaboklab(39.27% -0.0129 -0.0667)
OKLCHoklch(39.27% 0.068 259.1)
XYZxyz(5.9631, 6.0248, 14.4816)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F466A #6A532F
analogous
#2F646A #2F466A #352F6A
triadic
#2F466A #6A2F46 #466A2F
tetradic
#2F466A #6A2F64 #6A532F #2F6A35
square
#2F466A #6A2F64 #6A532F #2F6A35
split-complementary
#2F466A #6A352F #646A2F
monochromatic
#090E15 #1C2A40 #2F466A #426294 #5C80B7

Accessibility & contrast

On white

9.52
#2F466A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F466A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F466A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F466A#FFFFFF#000000##FFFFFF
##2F466A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496C
Deuteranopia (green-blind)
#314369
Tritanopia (blue-blind)
#104E53
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f466a;
/* rgb */ color: rgb(47, 70, 106);
/* oklch */ color: oklch(39.3% 0.068 259.1);
Tailwind
colors: {
  custom: {
    50: '#6c7995',
    500: '#2f466a',
    950: '#000000',
  },
}
SCSS
$custom: #2f466a;
$custom-light: #6c7995;
$custom-dark: #000000;
JSON
{
  "hex": "#2f466a",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 106
  },
  "hsl": {
    "h": 216.61,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.39269,
    "c": 0.06791,
    "h": 259.1
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#2F466A
secondary
#9B8259
accent
#A159CE
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2F466A

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

Preview Lab → · Contrast checker → · Palette generator →

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