#1F2F73#1F2F73

#1F2F73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.119 H 269.0°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#1F2F73
RGBrgb(31, 47, 115)
HSLhsl(229, 58%, 29%)
HSVhsv(229, 73%, 45%)
CMYKcmyk(73%, 59.1%, 0%, 54.9%)
CIE-LABlab(22.17, 18.69, -41.16)
CIE-LCHlch(22.17, 45.21, 294.42°)
OKLaboklab(33.61% -0.002 -0.1186)
OKLCHoklch(33.61% 0.119 269)
XYZxyz(4.6750, 3.5617, 16.6574)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2F73 #73631F
analogous
#1F5973 #1F2F73 #391F73
triadic
#1F2F73 #731F2F #2F731F
tetradic
#1F2F73 #731F59 #73631F #1F7339
square
#1F2F73 #731F59 #73631F #1F7339
split-complementary
#1F2F73 #73391F #59731F
monochromatic
#060A18 #121B43 #1F2F73 #2C43A3 #415BCC

Accessibility & contrast

On white

12.26
#1F2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1F2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2F73
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2F73#FFFFFF#000000##FFFFFF
##1F2F731.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1f2f73;
/* rgb */ color: rgb(31, 47, 115);
/* oklch */ color: oklch(33.6% 0.119 269.0);
Tailwind
colors: {
  custom: {
    50: '#67679c',
    500: '#1f2f73',
    950: '#000000',
  },
}
SCSS
$custom: #1f2f73;
$custom-light: #67679c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2f73",
  "rgb": {
    "r": 31,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 228.571,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3361,
    "c": 0.11859,
    "h": 269
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#1F2F73
secondary
#A79547
accent
#C347E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1F2F73

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

Preview Lab → · Contrast checker → · Palette generator →

#1F2F73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva