#2F349B#2F349B

#2F349B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.164 H 273.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2F349B
RGBrgb(47, 52, 155)
HSLhsl(237, 53%, 40%)
HSVhsv(237, 70%, 61%)
CMYKcmyk(69.7%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.92, 32.67, -56.72)
CIE-LCHlch(27.92, 65.45, 299.94°)
OKLaboklab(39.19% 0.0108 -0.1638)
OKLCHoklch(39.19% 0.164 273.8)
XYZxyz(8.3147, 5.4261, 31.6131)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F349B #9B962F
analogous
#2F6A9B #2F349B #602F9B
triadic
#2F349B #9B2F34 #349B2F
tetradic
#2F349B #9B2F6A #9B962F #2F9B60
square
#2F349B #9B2F6A #9B962F #2F9B60
split-complementary
#2F349B #9B602F #6A9B2F
monochromatic
#13143D #21246C #2F349B #4248C6 #7175D4

Accessibility & contrast

On white

10.07
#2F349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F349B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F349B#FFFFFF#000000##FFFFFF
##2F349B1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f349b;
/* rgb */ color: rgb(47, 52, 155);
/* oklch */ color: oklch(39.2% 0.164 273.8);
Tailwind
colors: {
  custom: {
    50: '#766cb9',
    500: '#2f349b',
    950: '#000000',
  },
}
SCSS
$custom: #2f349b;
$custom-light: #766cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f349b",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 237.222,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39193,
    "c": 0.16413,
    "h": 273.8
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F349B

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

Preview Lab → · Contrast checker → · Palette generator →

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