#2F346A#2F346A

#2F346A is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.093 H 276.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2F346A
RGBrgb(47, 52, 106)
HSLhsl(235, 39%, 30%)
HSVhsv(235, 56%, 42%)
CMYKcmyk(55.7%, 50.9%, 0%, 58.4%)
CIE-LABlab(24.00, 14.94, -32.36)
CIE-LCHlch(24.00, 35.64, 294.78°)
OKLaboklab(35.06% 0.0105 -0.0922)
OKLCHoklch(35.06% 0.093 276.5)
XYZxyz(5.0010, 4.1006, 14.1608)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F346A #6A652F
analogous
#2F526A #2F346A #472F6A
triadic
#2F346A #6A2F34 #346A2F
tetradic
#2F346A #6A2F52 #6A652F #2F6A47
square
#2F346A #6A2F52 #6A652F #2F6A47
split-complementary
#2F346A #6A472F #526A2F
monochromatic
#090A15 #1C1F40 #2F346A #424994 #5C64B7

Accessibility & contrast

On white

11.54
#2F346A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F346A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F346A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F346A#FFFFFF#000000##FFFFFF
##2F346A1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6C
Deuteranopia (green-blind)
#143769
Tritanopia (blue-blind)
#15404A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f346a;
/* rgb */ color: rgb(47, 52, 106);
/* oklch */ color: oklch(35.1% 0.093 276.5);
Tailwind
colors: {
  custom: {
    50: '#6c6b95',
    500: '#2f346a',
    950: '#000000',
  },
}
SCSS
$custom: #2f346a;
$custom-light: #6c6b95;
$custom-dark: #000000;
JSON
{
  "hex": "#2f346a",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 234.915,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.35059,
    "c": 0.0928,
    "h": 276.5
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#2F346A
secondary
#9B9659
accent
#C559CE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F346A

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

Preview Lab → · Contrast checker → · Palette generator →

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