#2F496E#2F496E

#2F496E is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.2% C 0.070 H 257.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2F496E
RGBrgb(47, 73, 110)
HSLhsl(215, 40%, 31%)
HSVhsv(215, 57%, 43%)
CMYKcmyk(57.3%, 33.6%, 0%, 56.9%)
CIE-LABlab(30.63, 2.10, -24.41)
CIE-LCHlch(30.63, 24.50, 274.91°)
OKLaboklab(40.24% -0.0155 -0.0688)
OKLCHoklch(40.24% 0.07 257.3)
XYZxyz(6.3683, 6.4947, 15.6668)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F496E #6E542F
analogous
#2F686E #2F496E #342F6E
triadic
#2F496E #6E2F49 #496E2F
tetradic
#2F496E #6E2F68 #6E542F #2F6E34
square
#2F496E #6E2F68 #6E542F #2F6E34
split-complementary
#2F496E #6E342F #686E2F
monochromatic
#0A1018 #1D2D43 #2F496E #416599 #5D84BA

Accessibility & contrast

On white

9.13
#2F496E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F496E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F496E#FFFFFF#000000##FFFFFF
##2F496E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B70
Deuteranopia (green-blind)
#32456D
Tritanopia (blue-blind)
#095156
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f496e;
/* rgb */ color: rgb(47, 73, 110);
/* oklch */ color: oklch(40.2% 0.070 257.3);
Tailwind
colors: {
  custom: {
    50: '#6d7b98',
    500: '#2f496e',
    950: '#000000',
  },
}
SCSS
$custom: #2f496e;
$custom-light: #6d7b98;
$custom-dark: #000000;
JSON
{
  "hex": "#2f496e",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 110
  },
  "hsl": {
    "h": 215.238,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40238,
    "c": 0.07049,
    "h": 257.3
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#2F496E
secondary
#9F8359
accent
#9E58D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2F496E

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

Preview Lab → · Contrast checker → · Palette generator →

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