#2F326D#2F326D

#2F326D is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.101 H 277.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2F326D
RGBrgb(47, 50, 109)
HSLhsl(237, 40%, 31%)
HSVhsv(237, 57%, 43%)
CMYKcmyk(56.9%, 54.1%, 0%, 57.3%)
CIE-LABlab(23.64, 17.40, -34.88)
CIE-LCHlch(23.64, 38.98, 296.51°)
OKLaboklab(34.85% 0.0133 -0.0996)
OKLCHoklch(34.85% 0.101 277.6)
XYZxyz(5.0723, 3.9893, 14.9678)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F326D #6D6A2F
analogous
#2F516D #2F326D #4B2F6D
triadic
#2F326D #6D2F32 #326D2F
tetradic
#2F326D #6D2F51 #6D6A2F #2F6D4B
square
#2F326D #6D2F51 #6D6A2F #2F6D4B
split-complementary
#2F326D #6D4B2F #516D2F
monochromatic
#0A0B17 #1D1E42 #2F326D #414698 #5D62B9

Accessibility & contrast

On white

11.68
#2F326D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2F326D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F326D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F326D#FFFFFF#000000##FFFFFF
##2F326D1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B6F
Deuteranopia (green-blind)
#0A366C
Tritanopia (blue-blind)
#123F4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f326d;
/* rgb */ color: rgb(47, 50, 109);
/* oklch */ color: oklch(34.9% 0.101 277.6);
Tailwind
colors: {
  custom: {
    50: '#6d6997',
    500: '#2f326d',
    950: '#000000',
  },
}
SCSS
$custom: #2f326d;
$custom-light: #6d6997;
$custom-dark: #000000;
JSON
{
  "hex": "#2f326d",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 237.097,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34851,
    "c": 0.10052,
    "h": 277.6
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#2F326D
secondary
#9E9B59
accent
#CA58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F326D

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

Preview Lab → · Contrast checker → · Palette generator →

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