#2F349D#2F349D

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

Color values

HEX#2F349D
RGBrgb(47, 52, 157)
HSLhsl(237, 54%, 40%)
HSVhsv(237, 70%, 62%)
CMYKcmyk(70.1%, 66.9%, 0%, 38.4%)
CIE-LABlab(28.10, 33.38, -57.64)
CIE-LCHlch(28.10, 66.61, 300.08°)
OKLaboklab(39.38% 0.0106 -0.1665)
OKLCHoklch(39.38% 0.167 273.7)
XYZxyz(8.4841, 5.4938, 32.5051)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F349D #9D982F
analogous
#2F6B9D #2F349D #612F9D
triadic
#2F349D #9D2F34 #349D2F
tetradic
#2F349D #9D2F6B #9D982F #2F9D61
square
#2F349D #9D2F6B #9D982F #2F9D61
split-complementary
#2F349D #9D612F #6B9D2F
monochromatic
#13153F #21246E #2F349D #4349C7 #7276D5

Accessibility & contrast

On white

10.00
#2F349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F349D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F349D#FFFFFF#000000##FFFFFF
##2F349D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f349d;
/* rgb */ color: rgb(47, 52, 157);
/* oklch */ color: oklch(39.4% 0.167 273.7);
Tailwind
colors: {
  custom: {
    50: '#776cbb',
    500: '#2f349d',
    950: '#000000',
  },
}
SCSS
$custom: #2f349d;
$custom-light: #776cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f349d",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 237.273,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.1668,
    "h": 273.7
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#2F349D
secondary
#BCB96B
accent
#D74BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F349D

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

Preview Lab → · Contrast checker → · Palette generator →

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