#2F346D#2F346D

#2F346D is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.098 H 276.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2F346D
RGBrgb(47, 52, 109)
HSLhsl(235, 40%, 31%)
HSVhsv(235, 57%, 43%)
CMYKcmyk(56.9%, 52.3%, 0%, 57.3%)
CIE-LABlab(24.21, 16.02, -33.96)
CIE-LCHlch(24.21, 37.55, 295.25°)
OKLaboklab(35.28% 0.0109 -0.0969)
OKLCHoklch(35.28% 0.098 276.4)
XYZxyz(5.1597, 4.1641, 14.9969)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F346D #6D682F
analogous
#2F536D #2F346D #492F6D
triadic
#2F346D #6D2F34 #346D2F
tetradic
#2F346D #6D2F53 #6D682F #2F6D49
square
#2F346D #6D2F53 #6D682F #2F6D49
split-complementary
#2F346D #6D492F #536D2F
monochromatic
#0A0B17 #1D2042 #2F346D #414898 #5D65B9

Accessibility & contrast

On white

11.46
#2F346D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2F346D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F346D
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F346D#FFFFFF#000000##FFFFFF
##2F346D1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183C6F
Deuteranopia (green-blind)
#10376C
Tritanopia (blue-blind)
#11414B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f346d;
/* rgb */ color: rgb(47, 52, 109);
/* oklch */ color: oklch(35.3% 0.098 276.4);
Tailwind
colors: {
  custom: {
    50: '#6d6b97',
    500: '#2f346d',
    950: '#000000',
  },
}
SCSS
$custom: #2f346d;
$custom-light: #6d6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#2f346d",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 109
  },
  "hsl": {
    "h": 235.161,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3528,
    "c": 0.09752,
    "h": 276.4
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#2F346D
secondary
#9E9959
accent
#C658D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F346D

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

Preview Lab → · Contrast checker → · Palette generator →

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