#1F2D73#1F2D73

#1F2D73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.121 H 269.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1F2D73
RGBrgb(31, 45, 115)
HSLhsl(230, 58%, 29%)
HSVhsv(230, 73%, 45%)
CMYKcmyk(73%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.60, 20.10, -42.08)
CIE-LCHlch(21.60, 46.64, 295.54°)
OKLaboklab(33.19% -0.0002 -0.1213)
OKLCHoklch(33.19% 0.121 269.9)
XYZxyz(4.5969, 3.4054, 16.6314)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D73 #73651F
analogous
#1F5773 #1F2D73 #3B1F73
triadic
#1F2D73 #731F2D #2D731F
tetradic
#1F2D73 #731F57 #73651F #1F733B
square
#1F2D73 #731F57 #73651F #1F733B
split-complementary
#1F2D73 #733B1F #57731F
monochromatic
#060918 #121A43 #1F2D73 #2C40A3 #4158CC

Accessibility & contrast

On white

12.49
#1F2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1F2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2D73
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D73#FFFFFF#000000##FFFFFF
##1F2D731.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1f2d73;
/* rgb */ color: rgb(31, 45, 115);
/* oklch */ color: oklch(33.2% 0.121 269.9);
Tailwind
colors: {
  custom: {
    50: '#67659c',
    500: '#1f2d73',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d73;
$custom-light: #67659c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d73",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 230,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33187,
    "c": 0.1213,
    "h": 269.9
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#1F2D73
secondary
#A79747
accent
#C747E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1F2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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