#2F3473#2F3473

#2F3473 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.107 H 276.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2F3473
RGBrgb(47, 52, 115)
HSLhsl(236, 42%, 32%)
HSVhsv(236, 59%, 45%)
CMYKcmyk(59.1%, 54.8%, 0%, 54.9%)
CIE-LABlab(24.63, 18.18, -37.12)
CIE-LCHlch(24.63, 41.34, 296.10°)
OKLaboklab(35.74% 0.0114 -0.1062)
OKLCHoklch(35.74% 0.107 276.1)
XYZxyz(5.4938, 4.2977, 16.7564)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3473 #736E2F
analogous
#2F5673 #2F3473 #4C2F73
triadic
#2F3473 #732F34 #34732F
tetradic
#2F3473 #732F56 #736E2F #2F734C
square
#2F3473 #732F56 #736E2F #2F734C
split-complementary
#2F3473 #734C2F #56732F
monochromatic
#0B0D1C #1D2048 #2F3473 #41489E #5F66BE

Accessibility & contrast

On white

11.29
#2F3473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F3473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3473
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3473#FFFFFF#000000##FFFFFF
##2F34731.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D75
Deuteranopia (green-blind)
#033872
Tritanopia (blue-blind)
#08424E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3473;
/* rgb */ color: rgb(47, 52, 115);
/* oklch */ color: oklch(35.7% 0.107 276.1);
Tailwind
colors: {
  custom: {
    50: '#6e6b9c',
    500: '#2f3473',
    950: '#000000',
  },
}
SCSS
$custom: #2f3473;
$custom-light: #6e6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3473",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 115
  },
  "hsl": {
    "h": 235.588,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35737,
    "c": 0.10681,
    "h": 276.1
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#2F3473
secondary
#A49F5A
accent
#C956D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2F3473

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

Preview Lab → · Contrast checker → · Palette generator →

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