#2F3576#2F3576

#2F3576 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.110 H 275.5°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2F3576
RGBrgb(47, 53, 118)
HSLhsl(235, 43%, 32%)
HSVhsv(235, 60%, 46%)
CMYKcmyk(60.2%, 55.1%, 0%, 53.7%)
CIE-LABlab(25.13, 18.58, -38.23)
CIE-LCHlch(25.13, 42.51, 295.93°)
OKLaboklab(36.18% 0.0105 -0.1094)
OKLCHoklch(36.18% 0.11 275.5)
XYZxyz(5.7144, 4.4581, 17.6954)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3576 #76702F
analogous
#2F5876 #2F3576 #4D2F76
triadic
#2F3576 #762F35 #35762F
tetradic
#2F3576 #762F58 #76702F #2F764D
square
#2F3576 #762F58 #76702F #2F764D
split-complementary
#2F3576 #764D2F #58762F
monochromatic
#0C0E1E #1E214A #2F3576 #4049A2 #6068C0

Accessibility & contrast

On white

11.10
#2F3576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F3576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3576
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3576#FFFFFF#000000##FFFFFF
##2F35761.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F78
Deuteranopia (green-blind)
#003975
Tritanopia (blue-blind)
#024450
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3576;
/* rgb */ color: rgb(47, 53, 118);
/* oklch */ color: oklch(36.2% 0.110 275.5);
Tailwind
colors: {
  custom: {
    50: '#6f6c9e',
    500: '#2f3576',
    950: '#000000',
  },
}
SCSS
$custom: #2f3576;
$custom-light: #6f6c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3576",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 118
  },
  "hsl": {
    "h": 234.93,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36182,
    "c": 0.10994,
    "h": 275.5
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#2F3576
secondary
#A7A05A
accent
#C855D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2F3576

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

Preview Lab → · Contrast checker → · Palette generator →

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