#2F326B#2F326B

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

Color values

HEX#2F326B
RGBrgb(47, 50, 107)
HSLhsl(237, 39%, 30%)
HSVhsv(237, 56%, 42%)
CMYKcmyk(56.1%, 53.3%, 0%, 58%)
CIE-LABlab(23.49, 16.68, -33.82)
CIE-LCHlch(23.49, 37.71, 296.26°)
OKLaboklab(34.7% 0.0132 -0.0965)
OKLCHoklch(34.7% 0.097 277.8)
XYZxyz(4.9659, 3.9468, 14.4072)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F326B #6B682F
analogous
#2F506B #2F326B #4A2F6B
triadic
#2F326B #6B2F32 #326B2F
tetradic
#2F326B #6B2F50 #6B682F #2F6B4A
square
#2F326B #6B2F50 #6B682F #2F6B4A
split-complementary
#2F326B #6B4A2F #506B2F
monochromatic
#0A0A16 #1C1E40 #2F326B #424696 #5D61B8

Accessibility & contrast

On white

11.74
#2F326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F326B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F326B#FFFFFF#000000##FFFFFF
##2F326B1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163A6D
Deuteranopia (green-blind)
#0E366A
Tritanopia (blue-blind)
#143F49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f326b;
/* rgb */ color: rgb(47, 50, 107);
/* oklch */ color: oklch(34.7% 0.097 277.8);
Tailwind
colors: {
  custom: {
    50: '#6d6996',
    500: '#2f326b',
    950: '#000000',
  },
}
SCSS
$custom: #2f326b;
$custom-light: #6d6996;
$custom-dark: #000000;
JSON
{
  "hex": "#2f326b",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 237,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34699,
    "c": 0.0974,
    "h": 277.8
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#2F326B
secondary
#9C9959
accent
#C959CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F326B

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

Preview Lab → · Contrast checker → · Palette generator →

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