#2F347B#2F347B

#2F347B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.4% C 0.119 H 275.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2F347B
RGBrgb(47, 52, 123)
HSLhsl(236, 45%, 33%)
HSVhsv(236, 62%, 48%)
CMYKcmyk(61.8%, 57.7%, 0%, 51.8%)
CIE-LABlab(25.23, 21.09, -41.24)
CIE-LCHlch(25.23, 46.32, 297.09°)
OKLaboklab(36.37% 0.0119 -0.1183)
OKLCHoklch(36.37% 0.119 275.7)
XYZxyz(5.9743, 4.4899, 19.2869)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F347B #7B762F
analogous
#2F5A7B #2F347B #502F7B
triadic
#2F347B #7B2F34 #347B2F
tetradic
#2F347B #7B2F5A #7B762F #2F7B50
square
#2F347B #7B2F5A #7B762F #2F7B50
split-complementary
#2F347B #7B502F #5A7B2F
monochromatic
#0D0F22 #1E214F #2F347B #4047A7 #6268C3

Accessibility & contrast

On white

11.06
#2F347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F347B
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F347B#FFFFFF#000000##FFFFFF
##2F347B1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f347b;
/* rgb */ color: rgb(47, 52, 123);
/* oklch */ color: oklch(36.4% 0.119 275.7);
Tailwind
colors: {
  custom: {
    50: '#706ba2',
    500: '#2f347b',
    950: '#000000',
  },
}
SCSS
$custom: #2f347b;
$custom-light: #706ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f347b",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 236.053,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.1189,
    "h": 275.7
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#2F347B
secondary
#AAA55C
accent
#CC53D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F347B

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

Preview Lab → · Contrast checker → · Palette generator →

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