#2F348D#2F348D

#2F348D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.145 H 274.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2F348D
RGBrgb(47, 52, 141)
HSLhsl(237, 50%, 37%)
HSVhsv(237, 67%, 55%)
CMYKcmyk(66.7%, 63.1%, 0%, 44.7%)
CIE-LABlab(26.69, 27.63, -50.13)
CIE-LCHlch(26.69, 57.24, 298.87°)
OKLaboklab(37.91% 0.0118 -0.1444)
OKLCHoklch(37.91% 0.145 274.7)
XYZxyz(7.2064, 4.9828, 25.7761)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F348D #8D882F
analogous
#2F638D #2F348D #592F8D
triadic
#2F348D #8D2F34 #348D2F
tetradic
#2F348D #8D2F63 #8D882F #2F8D59
square
#2F348D #8D2F63 #8D882F #2F8D59
split-complementary
#2F348D #8D592F #638D2F
monochromatic
#101231 #20235F #2F348D #3E45BB #696FCD

Accessibility & contrast

On white

10.52
#2F348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F348D
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F348D#FFFFFF#000000##FFFFFF
##2F348D1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f348d;
/* rgb */ color: rgb(47, 52, 141);
/* oklch */ color: oklch(37.9% 0.145 274.7);
Tailwind
colors: {
  custom: {
    50: '#736baf',
    500: '#2f348d',
    950: '#000000',
  },
}
SCSS
$custom: #2f348d;
$custom-light: #736baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f348d",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 236.809,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37911,
    "c": 0.14492,
    "h": 274.7
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#2F348D
secondary
#B4B064
accent
#D24EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F348D

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

Preview Lab → · Contrast checker → · Palette generator →

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