#2F3572#2F3572

#2F3572 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.104 H 275.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2F3572
RGBrgb(47, 53, 114)
HSLhsl(235, 42%, 32%)
HSVhsv(235, 59%, 45%)
CMYKcmyk(58.8%, 53.5%, 0%, 55.3%)
CIE-LABlab(24.84, 17.13, -36.14)
CIE-LCHlch(24.84, 40.00, 295.36°)
OKLaboklab(35.87% 0.0102 -0.1033)
OKLCHoklch(35.87% 0.104 275.6)
XYZxyz(5.4817, 4.3651, 16.4700)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3572 #726C2F
analogous
#2F5772 #2F3572 #4B2F72
triadic
#2F3572 #722F35 #35722F
tetradic
#2F3572 #722F57 #726C2F #2F724B
square
#2F3572 #722F57 #726C2F #2F724B
split-complementary
#2F3572 #724B2F #57722F
monochromatic
#0B0D1B #1D2147 #2F3572 #41499D #5F67BD

Accessibility & contrast

On white

11.21
#2F3572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F3572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3572
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3572#FFFFFF#000000##FFFFFF
##2F35721.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E74
Deuteranopia (green-blind)
#093871
Tritanopia (blue-blind)
#09434E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f3572;
/* rgb */ color: rgb(47, 53, 114);
/* oklch */ color: oklch(35.9% 0.104 275.6);
Tailwind
colors: {
  custom: {
    50: '#6e6c9b',
    500: '#2f3572',
    950: '#000000',
  },
}
SCSS
$custom: #2f3572;
$custom-light: #6e6c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3572",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 234.627,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35873,
    "c": 0.10381,
    "h": 275.6
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#2F3572
secondary
#A39D5A
accent
#C656D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2F3572

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

Preview Lab → · Contrast checker → · Palette generator →

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