#2F326A#2F326A

#2F326A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.096 H 277.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#2F326A
RGBrgb(47, 50, 106)
HSLhsl(237, 39%, 30%)
HSVhsv(237, 56%, 42%)
CMYKcmyk(55.7%, 52.8%, 0%, 58.4%)
CIE-LABlab(23.42, 16.33, -33.29)
CIE-LCHlch(23.42, 37.08, 296.13°)
OKLaboklab(34.62% 0.0131 -0.0949)
OKLCHoklch(34.62% 0.096 277.8)
XYZxyz(4.9136, 3.9258, 14.1317)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F326A #6A672F
analogous
#2F506A #2F326A #492F6A
triadic
#2F326A #6A2F32 #326A2F
tetradic
#2F326A #6A2F50 #6A672F #2F6A49
square
#2F326A #6A2F50 #6A672F #2F6A49
split-complementary
#2F326A #6A492F #506A2F
monochromatic
#090A15 #1C1E40 #2F326A #424694 #5C61B7

Accessibility & contrast

On white

11.76
#2F326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2F326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F326A
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F326A#FFFFFF#000000##FFFFFF
##2F326A1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#103669
Tritanopia (blue-blind)
#153E49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f326a;
/* rgb */ color: rgb(47, 50, 106);
/* oklch */ color: oklch(34.6% 0.096 277.8);
Tailwind
colors: {
  custom: {
    50: '#6d6995',
    500: '#2f326a',
    950: '#000000',
  },
}
SCSS
$custom: #2f326a;
$custom-light: #6d6995;
$custom-dark: #000000;
JSON
{
  "hex": "#2f326a",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 236.949,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.34624,
    "c": 0.09583,
    "h": 277.8
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#2F326A
secondary
#9B9859
accent
#C959CE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F326A

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

Preview Lab → · Contrast checker → · Palette generator →

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