#2F346F#2F346F

#2F346F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.101 H 276.3°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2F346F
RGBrgb(47, 52, 111)
HSLhsl(235, 41%, 31%)
HSVhsv(235, 58%, 44%)
CMYKcmyk(57.7%, 53.2%, 0%, 56.5%)
CIE-LABlab(24.35, 16.74, -35.02)
CIE-LCHlch(24.35, 38.82, 295.54°)
OKLaboklab(35.43% 0.0111 -0.1)
OKLCHoklch(35.43% 0.101 276.3)
XYZxyz(5.2686, 4.2077, 15.5704)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F346F #6F6A2F
analogous
#2F546F #2F346F #4A2F6F
triadic
#2F346F #6F2F34 #346F2F
tetradic
#2F346F #6F2F54 #6F6A2F #2F6F4A
square
#2F346F #6F2F54 #6F6A2F #2F6F4A
split-complementary
#2F346F #6F4A2F #546F2F
monochromatic
#0B0C19 #1D2044 #2F346F #41489A #5E65BB

Accessibility & contrast

On white

11.40
#2F346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F346F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F346F#FFFFFF#000000##FFFFFF
##2F346F1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#0C376E
Tritanopia (blue-blind)
#0F414C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f346f;
/* rgb */ color: rgb(47, 52, 111);
/* oklch */ color: oklch(35.4% 0.101 276.3);
Tailwind
colors: {
  custom: {
    50: '#6d6b99',
    500: '#2f346f',
    950: '#000000',
  },
}
SCSS
$custom: #2f346f;
$custom-light: #6d6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f346f",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 235.313,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35431,
    "c": 0.10064,
    "h": 276.3
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#2F346F
secondary
#A09B59
accent
#C757D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2F346F

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

Preview Lab → · Contrast checker → · Palette generator →

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