#2F348A#2F348A

#2F348A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.141 H 274.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2F348A
RGBrgb(47, 52, 138)
HSLhsl(237, 49%, 36%)
HSVhsv(237, 66%, 54%)
CMYKcmyk(65.9%, 62.3%, 0%, 45.9%)
CIE-LABlab(26.43, 26.55, -48.68)
CIE-LCHlch(26.43, 55.45, 298.61°)
OKLaboklab(37.65% 0.0119 -0.1402)
OKLCHoklch(37.65% 0.141 274.8)
XYZxyz(6.9862, 4.8947, 24.6164)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F348A #8A852F
analogous
#2F628A #2F348A #582F8A
triadic
#2F348A #8A2F34 #348A2F
tetradic
#2F348A #8A2F62 #8A852F #2F8A58
square
#2F348A #8A2F62 #8A852F #2F8A58
split-complementary
#2F348A #8A582F #628A2F
monochromatic
#10122F #1F235C #2F348A #3F45B8 #686DCC

Accessibility & contrast

On white

10.61
#2F348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F348A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F348A#FFFFFF#000000##FFFFFF
##2F348A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f348a;
/* rgb */ color: rgb(47, 52, 138);
/* oklch */ color: oklch(37.6% 0.141 274.8);
Tailwind
colors: {
  custom: {
    50: '#736bad',
    500: '#2f348a',
    950: '#000000',
  },
}
SCSS
$custom: #2f348a;
$custom-light: #736bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f348a",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 236.703,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37646,
    "c": 0.14069,
    "h": 274.8
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#2F348A
secondary
#B3AE62
accent
#D14FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F348A

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

Preview Lab → · Contrast checker → · Palette generator →

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