#2F347C#2F347C

#2F347C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.120 H 275.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2F347C
RGBrgb(47, 52, 124)
HSLhsl(236, 45%, 34%)
HSVhsv(236, 62%, 49%)
CMYKcmyk(62.1%, 58.1%, 0%, 51.4%)
CIE-LABlab(25.31, 21.45, -41.74)
CIE-LCHlch(25.31, 46.93, 297.20°)
OKLaboklab(36.46% 0.0119 -0.1198)
OKLCHoklch(36.46% 0.12 275.7)
XYZxyz(6.0372, 4.5151, 19.6182)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F347C #7C772F
analogous
#2F5A7C #2F347C #502F7C
triadic
#2F347C #7C2F34 #347C2F
tetradic
#2F347C #7C2F5A #7C772F #2F7C50
square
#2F347C #7C2F5A #7C772F #2F7C50
split-complementary
#2F347C #7C502F #5A7C2F
monochromatic
#0D0F23 #1E2150 #2F347C #4047A8 #6268C3

Accessibility & contrast

On white

11.03
#2F347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F347C
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F347C#FFFFFF#000000##FFFFFF
##2F347C1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f347c;
/* rgb */ color: rgb(47, 52, 124);
/* oklch */ color: oklch(36.5% 0.120 275.7);
Tailwind
colors: {
  custom: {
    50: '#706ba2',
    500: '#2f347c',
    950: '#000000',
  },
}
SCSS
$custom: #2f347c;
$custom-light: #706ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f347c",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 236.104,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36456,
    "c": 0.12039,
    "h": 275.7
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#2F347C
secondary
#AAA55C
accent
#CC53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F347C

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

Preview Lab → · Contrast checker → · Palette generator →

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