#2F326F#2F326F

#2F326F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.104 H 277.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#2F326F
RGBrgb(47, 50, 111)
HSLhsl(237, 41%, 31%)
HSVhsv(237, 58%, 44%)
CMYKcmyk(57.7%, 55%, 0%, 56.5%)
CIE-LABlab(23.78, 18.12, -35.94)
CIE-LCHlch(23.78, 40.24, 296.76°)
OKLaboklab(35% 0.0135 -0.1027)
OKLCHoklch(35% 0.104 277.5)
XYZxyz(5.1812, 4.0329, 15.5412)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F326F #6F6C2F
analogous
#2F526F #2F326F #4C2F6F
triadic
#2F326F #6F2F32 #326F2F
tetradic
#2F326F #6F2F52 #6F6C2F #2F6F4C
square
#2F326F #6F2F52 #6F6C2F #2F6F4C
split-complementary
#2F326F #6F4C2F #526F2F
monochromatic
#0B0B19 #1D1F44 #2F326F #41459A #5E62BB

Accessibility & contrast

On white

11.62
#2F326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2F326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F326F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F326F#FFFFFF#000000##FFFFFF
##2F326F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#05366E
Tritanopia (blue-blind)
#0F404B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f326f;
/* rgb */ color: rgb(47, 50, 111);
/* oklch */ color: oklch(35.0% 0.104 277.5);
Tailwind
colors: {
  custom: {
    50: '#6d6999',
    500: '#2f326f',
    950: '#000000',
  },
}
SCSS
$custom: #2f326f;
$custom-light: #6d6999;
$custom-dark: #000000;
JSON
{
  "hex": "#2f326f",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 237.188,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35005,
    "c": 0.10361,
    "h": 277.5
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#2F326F
secondary
#A09D59
accent
#CB57D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2F326F

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

Preview Lab → · Contrast checker → · Palette generator →

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