#2F416A#2F416A

#2F416A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.074 H 265.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2F416A
RGBrgb(47, 65, 106)
HSLhsl(222, 39%, 30%)
HSVhsv(222, 56%, 42%)
CMYKcmyk(55.7%, 38.7%, 0%, 58.4%)
CIE-LABlab(27.91, 6.01, -26.14)
CIE-LCHlch(27.91, 26.82, 282.94°)
OKLaboklab(38.06% -0.0063 -0.0739)
OKLCHoklch(38.06% 0.074 265.1)
XYZxyz(5.6632, 5.4251, 14.3816)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F416A #6A582F
analogous
#2F5E6A #2F416A #3B2F6A
triadic
#2F416A #6A2F41 #416A2F
tetradic
#2F416A #6A2F5E #6A582F #2F6A3B
square
#2F416A #6A2F5E #6A582F #2F6A3B
split-complementary
#2F416A #6A3B2F #5E6A2F
monochromatic
#090D15 #1C2740 #2F416A #425B94 #5C78B7

Accessibility & contrast

On white

10.07
#2F416A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2F416A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F416A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F416A#FFFFFF#000000##FFFFFF
##2F416A1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31456C
Deuteranopia (green-blind)
#2A3F69
Tritanopia (blue-blind)
#124A50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f416a;
/* rgb */ color: rgb(47, 65, 106);
/* oklch */ color: oklch(38.1% 0.074 265.1);
Tailwind
colors: {
  custom: {
    50: '#6c7595',
    500: '#2f416a',
    950: '#000000',
  },
}
SCSS
$custom: #2f416a;
$custom-light: #6c7595;
$custom-dark: #000000;
JSON
{
  "hex": "#2f416a",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 106
  },
  "hsl": {
    "h": 221.695,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.38056,
    "c": 0.07413,
    "h": 265.1
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#2F416A
secondary
#9B8759
accent
#AB59CE
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2F416A

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

Preview Lab → · Contrast checker → · Palette generator →

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