#1F3073#1F3073

#1F3073 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.117 H 268.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#1F3073
RGBrgb(31, 48, 115)
HSLhsl(228, 58%, 29%)
HSVhsv(228, 73%, 45%)
CMYKcmyk(73%, 58.3%, 0%, 54.9%)
CIE-LABlab(22.45, 17.98, -40.70)
CIE-LCHlch(22.45, 44.49, 293.84°)
OKLaboklab(33.83% -0.0029 -0.1172)
OKLCHoklch(33.83% 0.117 268.6)
XYZxyz(4.7155, 3.6425, 16.6709)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3073 #73621F
analogous
#1F5A73 #1F3073 #381F73
triadic
#1F3073 #731F30 #30731F
tetradic
#1F3073 #731F5A #73621F #1F7338
square
#1F3073 #731F5A #73621F #1F7338
split-complementary
#1F3073 #73381F #5A731F
monochromatic
#060A18 #121C43 #1F3073 #2C44A3 #415DCC

Accessibility & contrast

On white

12.15
#1F3073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1F3073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3073
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3073#FFFFFF#000000##FFFFFF
##1F30731.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f3073;
/* rgb */ color: rgb(31, 48, 115);
/* oklch */ color: oklch(33.8% 0.117 268.6);
Tailwind
colors: {
  custom: {
    50: '#67689c',
    500: '#1f3073',
    950: '#000000',
  },
}
SCSS
$custom: #1f3073;
$custom-light: #67689c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3073",
  "rgb": {
    "r": 31,
    "g": 48,
    "b": 115
  },
  "hsl": {
    "h": 227.857,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33825,
    "c": 0.11722,
    "h": 268.6
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#1F3073
secondary
#A79347
accent
#C247E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1F3073

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

Preview Lab → · Contrast checker → · Palette generator →

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