#2F3D73#2F3D73

#2F3D73 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.094 H 270.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#2F3D73
RGBrgb(47, 61, 115)
HSLhsl(228, 42%, 32%)
HSVhsv(228, 59%, 45%)
CMYKcmyk(59.1%, 47%, 0%, 54.9%)
CIE-LABlab(27.24, 11.98, -32.94)
CIE-LCHlch(27.24, 35.05, 289.99°)
OKLaboklab(37.71% 0.0007 -0.0938)
OKLCHoklch(37.71% 0.094 270.4)
XYZxyz(5.9345, 5.1792, 16.9033)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D73 #73652F
analogous
#2F5F73 #2F3D73 #432F73
triadic
#2F3D73 #732F3D #3D732F
tetradic
#2F3D73 #732F5F #73652F #2F7343
square
#2F3D73 #732F5F #73652F #2F7343
split-complementary
#2F3D73 #73432F #5F732F
monochromatic
#0B0F1C #1D2648 #2F3D73 #41549E #5F72BE

Accessibility & contrast

On white

10.31
#2F3D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2F3D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3D73
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D73#FFFFFF#000000##FFFFFF
##2F3D731.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254375
Deuteranopia (green-blind)
#1C3E72
Tritanopia (blue-blind)
#054952
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f3d73;
/* rgb */ color: rgb(47, 61, 115);
/* oklch */ color: oklch(37.7% 0.094 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e729c',
    500: '#2f3d73',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d73;
$custom-light: #6e729c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d73",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 115
  },
  "hsl": {
    "h": 227.647,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37713,
    "c": 0.0938,
    "h": 270.4
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#2F3D73
secondary
#A4955A
accent
#B856D2
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2F3D73

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

Preview Lab → · Contrast checker → · Palette generator →

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