#2F326E#2F326E

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

Color values

HEX#2F326E
RGBrgb(47, 50, 110)
HSLhsl(237, 40%, 31%)
HSVhsv(237, 57%, 43%)
CMYKcmyk(57.3%, 54.5%, 0%, 56.9%)
CIE-LABlab(23.71, 17.76, -35.41)
CIE-LCHlch(23.71, 39.61, 296.64°)
OKLaboklab(34.93% 0.0134 -0.1012)
OKLCHoklch(34.93% 0.102 277.6)
XYZxyz(5.1265, 4.0110, 15.2529)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F326E #6E6B2F
analogous
#2F516E #2F326E #4B2F6E
triadic
#2F326E #6E2F32 #326E2F
tetradic
#2F326E #6E2F51 #6E6B2F #2F6E4B
square
#2F326E #6E2F51 #6E6B2F #2F6E4B
split-complementary
#2F326E #6E4B2F #516E2F
monochromatic
#0A0B18 #1D1F43 #2F326E #414599 #5D62BA

Accessibility & contrast

On white

11.65
#2F326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F326E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F326E#FFFFFF#000000##FFFFFF
##2F326E1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#08366D
Tritanopia (blue-blind)
#103F4B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f326e;
/* rgb */ color: rgb(47, 50, 110);
/* oklch */ color: oklch(34.9% 0.102 277.6);
Tailwind
colors: {
  custom: {
    50: '#6d6998',
    500: '#2f326e',
    950: '#000000',
  },
}
SCSS
$custom: #2f326e;
$custom-light: #6d6998;
$custom-dark: #000000;
JSON
{
  "hex": "#2f326e",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 237.143,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34927,
    "c": 0.10207,
    "h": 277.6
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#2F326E
secondary
#9F9C59
accent
#CA58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2F326E

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

Preview Lab → · Contrast checker → · Palette generator →

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