#2F348C#2F348C

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

Color values

HEX#2F348C
RGBrgb(47, 52, 140)
HSLhsl(237, 50%, 37%)
HSVhsv(237, 66%, 55%)
CMYKcmyk(66.4%, 62.9%, 0%, 45.1%)
CIE-LABlab(26.60, 27.27, -49.65)
CIE-LCHlch(26.60, 56.64, 298.78°)
OKLaboklab(37.82% 0.0118 -0.143)
OKLCHoklch(37.82% 0.144 274.7)
XYZxyz(7.1323, 4.9532, 25.3860)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F348C #8C872F
analogous
#2F638C #2F348C #592F8C
triadic
#2F348C #8C2F34 #348C2F
tetradic
#2F348C #8C2F63 #8C872F #2F8C59
square
#2F348C #8C2F63 #8C872F #2F8C59
split-complementary
#2F348C #8C592F #638C2F
monochromatic
#101230 #20235E #2F348C #3E45BA #696ECD

Accessibility & contrast

On white

10.55
#2F348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F348C
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F348C#FFFFFF#000000##FFFFFF
##2F348C1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f348c;
/* rgb */ color: rgb(47, 52, 140);
/* oklch */ color: oklch(37.8% 0.144 274.7);
Tailwind
colors: {
  custom: {
    50: '#736bae',
    500: '#2f348c',
    950: '#000000',
  },
}
SCSS
$custom: #2f348c;
$custom-light: #736bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f348c",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 236.774,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37823,
    "c": 0.14352,
    "h": 274.7
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#2F348C
secondary
#B4AF63
accent
#D24FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F348C

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

Preview Lab → · Contrast checker → · Palette generator →

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