#2F349F#2F349F

#2F349F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.169 H 273.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2F349F
RGBrgb(47, 52, 159)
HSLhsl(237, 54%, 40%)
HSVhsv(237, 70%, 62%)
CMYKcmyk(70.4%, 67.3%, 0%, 37.6%)
CIE-LABlab(28.28, 34.09, -58.55)
CIE-LCHlch(28.28, 67.75, 300.21°)
OKLaboklab(39.57% 0.0104 -0.1691)
OKLCHoklch(39.57% 0.169 273.5)
XYZxyz(8.6562, 5.5627, 33.4117)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F349F #9F9A2F
analogous
#2F6C9F #2F349F #622F9F
triadic
#2F349F #9F2F34 #349F2F
tetradic
#2F349F #9F2F6C #9F9A2F #2F9F62
square
#2F349F #9F2F6C #9F9A2F #2F9F62
split-complementary
#2F349F #9F622F #6C9F2F
monochromatic
#131541 #212570 #2F349F #4449C8 #7377D6

Accessibility & contrast

On white

9.94
#2F349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F349F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F349F#FFFFFF#000000##FFFFFF
##2F349F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f349f;
/* rgb */ color: rgb(47, 52, 159);
/* oklch */ color: oklch(39.6% 0.169 273.5);
Tailwind
colors: {
  custom: {
    50: '#776cbc',
    500: '#2f349f',
    950: '#000000',
  },
}
SCSS
$custom: #2f349f;
$custom-light: #776cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f349f",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 237.321,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39572,
    "c": 0.16946,
    "h": 273.5
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#2F349F
secondary
#BDBA6D
accent
#D74ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F349F

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

Preview Lab → · Contrast checker → · Palette generator →

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