#2F328E#2F328E

#2F328E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.149 H 275.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2F328E
RGBrgb(47, 50, 142)
HSLhsl(238, 50%, 37%)
HSVhsv(238, 67%, 56%)
CMYKcmyk(66.9%, 64.8%, 0%, 44.3%)
CIE-LABlab(26.27, 29.31, -51.43)
CIE-LCHlch(26.27, 59.19, 299.68°)
OKLaboklab(37.63% 0.0134 -0.1483)
OKLCHoklch(37.63% 0.149 275.2)
XYZxyz(7.1938, 4.8379, 26.1406)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F328E #8E8B2F
analogous
#2F628E #2F328E #5B2F8E
triadic
#2F328E #8E2F32 #328E2F
tetradic
#2F328E #8E2F62 #8E8B2F #2F8E5B
square
#2F328E #8E2F62 #8E8B2F #2F8E5B
split-complementary
#2F328E #8E5B2F #628E2F
monochromatic
#111232 #202260 #2F328E #3E42BC #6A6DCE

Accessibility & contrast

On white

10.67
#2F328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F328E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F328E#FFFFFF#000000##FFFFFF
##2F328E1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f328e;
/* rgb */ color: rgb(47, 50, 142);
/* oklch */ color: oklch(37.6% 0.149 275.2);
Tailwind
colors: {
  custom: {
    50: '#746ab0',
    500: '#2f328e',
    950: '#000000',
  },
}
SCSS
$custom: #2f328e;
$custom-light: #746ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f328e",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 238.105,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37632,
    "c": 0.14888,
    "h": 275.2
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#2F328E
secondary
#B5B264
accent
#D54EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F328E

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

Preview Lab → · Contrast checker → · Palette generator →

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