#2F3672#2F3672

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

Color values

HEX#2F3672
RGBrgb(47, 54, 114)
HSLhsl(234, 42%, 32%)
HSVhsv(234, 59%, 45%)
CMYKcmyk(58.8%, 52.6%, 0%, 55.3%)
CIE-LABlab(25.13, 16.44, -35.68)
CIE-LCHlch(25.13, 39.29, 294.74°)
OKLaboklab(36.09% 0.009 -0.1019)
OKLCHoklch(36.09% 0.102 275)
XYZxyz(5.5277, 4.4572, 16.4854)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3672 #726B2F
analogous
#2F5872 #2F3672 #4A2F72
triadic
#2F3672 #722F36 #36722F
tetradic
#2F3672 #722F58 #726B2F #2F724A
square
#2F3672 #722F58 #726B2F #2F724A
split-complementary
#2F3672 #724A2F #58722F
monochromatic
#0B0D1B #1D2147 #2F3672 #414B9D #5F68BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3672#FFFFFF#000000##FFFFFF
##2F36721.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)
#173F74
Deuteranopia (green-blind)
#0C3971
Tritanopia (blue-blind)
#09434E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3672;
/* rgb */ color: rgb(47, 54, 114);
/* oklch */ color: oklch(36.1% 0.102 275.0);
Tailwind
colors: {
  custom: {
    50: '#6e6c9b',
    500: '#2f3672',
    950: '#000000',
  },
}
SCSS
$custom: #2f3672;
$custom-light: #6e6c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3672",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 114
  },
  "hsl": {
    "h": 233.731,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.10235,
    "h": 275
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#2F3672
secondary
#A39C5A
accent
#C556D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2F3672

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

Preview Lab → · Contrast checker → · Palette generator →

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