#2F3F73#2F3F73

#2F3F73 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.091 H 268.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2F3F73
RGBrgb(47, 63, 115)
HSLhsl(226, 42%, 32%)
HSVhsv(226, 59%, 45%)
CMYKcmyk(59.1%, 45.2%, 0%, 54.9%)
CIE-LABlab(27.84, 10.61, -31.99)
CIE-LCHlch(27.84, 33.70, 288.36°)
OKLaboklab(38.17% -0.0017 -0.091)
OKLCHoklch(38.17% 0.091 268.9)
XYZxyz(6.0433, 5.3967, 16.9395)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F73 #73632F
analogous
#2F6173 #2F3F73 #412F73
triadic
#2F3F73 #732F3F #3F732F
tetradic
#2F3F73 #732F61 #73632F #2F7341
square
#2F3F73 #732F61 #73632F #2F7341
split-complementary
#2F3F73 #73412F #61732F
monochromatic
#0B0F1C #1D2748 #2F3F73 #41579E #5F75BE

Accessibility & contrast

On white

10.10
#2F3F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F3F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3F73
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F73#FFFFFF#000000##FFFFFF
##2F3F731.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284575
Deuteranopia (green-blind)
#203F72
Tritanopia (blue-blind)
#044A53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f3f73;
/* rgb */ color: rgb(47, 63, 115);
/* oklch */ color: oklch(38.2% 0.091 268.9);
Tailwind
colors: {
  custom: {
    50: '#6e739b',
    500: '#2f3f73',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f73;
$custom-light: #6e739b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f73",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 115
  },
  "hsl": {
    "h": 225.882,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3817,
    "c": 0.091,
    "h": 268.9
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#2F3F73
secondary
#A4935A
accent
#B556D2
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2F3F73

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

Preview Lab → · Contrast checker → · Palette generator →

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