#2F349C#2F349C

#2F349C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.165 H 273.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2F349C
RGBrgb(47, 52, 156)
HSLhsl(237, 54%, 40%)
HSVhsv(237, 70%, 61%)
CMYKcmyk(69.9%, 66.7%, 0%, 38.8%)
CIE-LABlab(28.01, 33.02, -57.18)
CIE-LCHlch(28.01, 66.03, 300.01°)
OKLaboklab(39.29% 0.0107 -0.1651)
OKLCHoklch(39.29% 0.165 273.7)
XYZxyz(8.3990, 5.4598, 32.0573)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F349C #9C972F
analogous
#2F6A9C #2F349C #612F9C
triadic
#2F349C #9C2F34 #349C2F
tetradic
#2F349C #9C2F6A #9C972F #2F9C61
square
#2F349C #9C2F6A #9C972F #2F9C61
split-complementary
#2F349C #9C612F #6A9C2F
monochromatic
#13153E #21246D #2F349C #4248C6 #7176D4

Accessibility & contrast

On white

10.04
#2F349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2F349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F349C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F349C#FFFFFF#000000##FFFFFF
##2F349C1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f349c;
/* rgb */ color: rgb(47, 52, 156);
/* oklch */ color: oklch(39.3% 0.165 273.7);
Tailwind
colors: {
  custom: {
    50: '#776cba',
    500: '#2f349c',
    950: '#000000',
  },
}
SCSS
$custom: #2f349c;
$custom-light: #776cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f349c",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 237.248,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39287,
    "c": 0.16547,
    "h": 273.7
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#2F349C
secondary
#BCB86B
accent
#D64BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F349C

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

Preview Lab → · Contrast checker → · Palette generator →

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