#2F328C#2F328C

#2F328C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.146 H 275.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2F328C
RGBrgb(47, 50, 140)
HSLhsl(238, 50%, 37%)
HSVhsv(238, 66%, 55%)
CMYKcmyk(66.4%, 64.3%, 0%, 45.1%)
CIE-LABlab(26.09, 28.59, -50.47)
CIE-LCHlch(26.09, 58.01, 299.53°)
OKLaboklab(37.45% 0.0135 -0.1455)
OKLCHoklch(37.45% 0.146 275.3)
XYZxyz(7.0450, 4.7784, 25.3569)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F328C #8C892F
analogous
#2F618C #2F328C #5B2F8C
triadic
#2F328C #8C2F32 #328C2F
tetradic
#2F328C #8C2F61 #8C892F #2F8C5B
square
#2F328C #8C2F61 #8C892F #2F8C5B
split-complementary
#2F328C #8C5B2F #618C2F
monochromatic
#101130 #20225E #2F328C #3E42BA #696CCD

Accessibility & contrast

On white

10.74
#2F328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2F328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F328C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F328C#FFFFFF#000000##FFFFFF
##2F328C1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f328c;
/* rgb */ color: rgb(47, 50, 140);
/* oklch */ color: oklch(37.5% 0.146 275.3);
Tailwind
colors: {
  custom: {
    50: '#736aae',
    500: '#2f328c',
    950: '#000000',
  },
}
SCSS
$custom: #2f328c;
$custom-light: #736aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f328c",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 238.065,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3745,
    "c": 0.1461,
    "h": 275.3
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#2F328C
secondary
#B4B163
accent
#D54FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F328C

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

Preview Lab → · Contrast checker → · Palette generator →

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