#1F2D69#1F2D69

#1F2D69 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.106 H 269.6°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1F2D69
RGBrgb(31, 45, 105)
HSLhsl(229, 54%, 27%)
HSVhsv(229, 70%, 41%)
CMYKcmyk(70.5%, 57.1%, 0%, 58.8%)
CIE-LABlab(20.78, 16.14, -36.96)
CIE-LCHlch(20.78, 40.33, 293.59°)
OKLaboklab(32.32% -0.0007 -0.1062)
OKLCHoklch(32.32% 0.106 269.6)
XYZxyz(4.0524, 3.1876, 13.7636)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D69 #695B1F
analogous
#1F5269 #1F2D69 #361F69
triadic
#1F2D69 #691F2D #2D691F
tetradic
#1F2D69 #691F52 #695B1F #1F6936
square
#1F2D69 #691F52 #695B1F #1F6936
split-complementary
#1F2D69 #69361F #52691F
monochromatic
#070A18 #11193A #1F2D69 #2D4198 #3D57C6

Accessibility & contrast

On white

12.82
#1F2D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1F2D69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2D69
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D69#FFFFFF#000000##FFFFFF
##1F2D691.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03356B
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1f2d69;
/* rgb */ color: rgb(31, 45, 105);
/* oklch */ color: oklch(32.3% 0.106 269.6);
Tailwind
colors: {
  custom: {
    50: '#646594',
    500: '#1f2d69',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d69;
$custom-light: #646594;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d69",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 105
  },
  "hsl": {
    "h": 228.649,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32315,
    "c": 0.10624,
    "h": 269.6
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#1F2D69
secondary
#9D8D47
accent
#C24ADE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1F2D69

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

Preview Lab → · Contrast checker → · Palette generator →

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