#1F2C69#1F2C69

#1F2C69 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.108 H 270.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1F2C69
RGBrgb(31, 44, 105)
HSLhsl(229, 54%, 27%)
HSVhsv(229, 70%, 41%)
CMYKcmyk(70.5%, 58.1%, 0%, 58.8%)
CIE-LABlab(20.49, 16.86, -37.43)
CIE-LCHlch(20.49, 41.05, 294.24°)
OKLaboklab(32.1% 0.0003 -0.1076)
OKLCHoklch(32.1% 0.108 270.2)
XYZxyz(4.0147, 3.1122, 13.7510)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2C69 #695C1F
analogous
#1F5169 #1F2C69 #371F69
triadic
#1F2C69 #691F2C #2C691F
tetradic
#1F2C69 #691F51 #695C1F #1F6937
square
#1F2C69 #691F51 #695C1F #1F6937
split-complementary
#1F2C69 #69371F #51691F
monochromatic
#070A18 #11183A #1F2C69 #2D4098 #3D55C6

Accessibility & contrast

On white

12.94
#1F2C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1F2C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2C69
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2C69#FFFFFF#000000##FFFFFF
##1F2C691.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356B
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f2c69;
/* rgb */ color: rgb(31, 44, 105);
/* oklch */ color: oklch(32.1% 0.108 270.2);
Tailwind
colors: {
  custom: {
    50: '#656494',
    500: '#1f2c69',
    950: '#000000',
  },
}
SCSS
$custom: #1f2c69;
$custom-light: #656494;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2c69",
  "rgb": {
    "r": 31,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 229.459,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32095,
    "c": 0.10764,
    "h": 270.2
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#1F2C69
secondary
#9D8E47
accent
#C44ADE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1F2C69

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

Preview Lab → · Contrast checker → · Palette generator →

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