#1F2F69#1F2F69

#1F2F69 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.103 H 268.5°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#1F2F69
RGBrgb(31, 47, 105)
HSLhsl(227, 54%, 27%)
HSVhsv(227, 70%, 41%)
CMYKcmyk(70.5%, 55.2%, 0%, 58.8%)
CIE-LABlab(21.37, 14.70, -36.00)
CIE-LCHlch(21.37, 38.89, 292.22°)
OKLaboklab(32.76% -0.0027 -0.1034)
OKLCHoklch(32.76% 0.103 268.5)
XYZxyz(4.1305, 3.3439, 13.7896)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2F69 #69591F
analogous
#1F5469 #1F2F69 #341F69
triadic
#1F2F69 #691F2F #2F691F
tetradic
#1F2F69 #691F54 #69591F #1F6934
square
#1F2F69 #691F54 #69591F #1F6934
split-complementary
#1F2F69 #69341F #54691F
monochromatic
#070B18 #111A3A #1F2F69 #2D4498 #3D5AC6

Accessibility & contrast

On white

12.58
#1F2F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1F2F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2F69
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2F69#FFFFFF#000000##FFFFFF
##1F2F691.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A376B
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1f2f69;
/* rgb */ color: rgb(31, 47, 105);
/* oklch */ color: oklch(32.8% 0.103 268.5);
Tailwind
colors: {
  custom: {
    50: '#646794',
    500: '#1f2f69',
    950: '#000000',
  },
}
SCSS
$custom: #1f2f69;
$custom-light: #646794;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2f69",
  "rgb": {
    "r": 31,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 227.027,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32761,
    "c": 0.10342,
    "h": 268.5
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#1F2F69
secondary
#9D8B47
accent
#BE4ADE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1F2F69

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

Preview Lab → · Contrast checker → · Palette generator →

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