#2F496F#2F496F

#2F496F is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.072 H 257.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2F496F
RGBrgb(47, 73, 111)
HSLhsl(216, 41%, 31%)
HSVhsv(216, 58%, 44%)
CMYKcmyk(57.7%, 34.2%, 0%, 56.5%)
CIE-LABlab(30.68, 2.45, -24.96)
CIE-LCHlch(30.68, 25.08, 275.61°)
OKLaboklab(40.3% -0.0152 -0.0703)
OKLCHoklch(40.3% 0.072 257.8)
XYZxyz(6.4231, 6.5166, 15.9552)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F496F #6F552F
analogous
#2F696F #2F496F #352F6F
triadic
#2F496F #6F2F49 #496F2F
tetradic
#2F496F #6F2F69 #6F552F #2F6F35
square
#2F496F #6F2F69 #6F552F #2F6F35
split-complementary
#2F496F #6F352F #696F2F
monochromatic
#0B1019 #1D2D44 #2F496F #41659A #5E83BB

Accessibility & contrast

On white

9.12
#2F496F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F496F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F496F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F496F#FFFFFF#000000##FFFFFF
##2F496F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#32456E
Tritanopia (blue-blind)
#075157
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f496f;
/* rgb */ color: rgb(47, 73, 111);
/* oklch */ color: oklch(40.3% 0.072 257.8);
Tailwind
colors: {
  custom: {
    50: '#6d7b98',
    500: '#2f496f',
    950: '#000000',
  },
}
SCSS
$custom: #2f496f;
$custom-light: #6d7b98;
$custom-dark: #000000;
JSON
{
  "hex": "#2f496f",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 111
  },
  "hsl": {
    "h": 215.625,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.07198,
    "h": 257.8
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#2F496F
secondary
#A08459
accent
#9F57D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2F496F

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

Preview Lab → · Contrast checker → · Palette generator →

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