#1F2C65#1F2C65

#1F2C65 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.101 H 270.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#1F2C65
RGBrgb(31, 44, 101)
HSLhsl(229, 53%, 26%)
HSVhsv(229, 69%, 40%)
CMYKcmyk(69.3%, 56.4%, 0%, 60.4%)
CIE-LABlab(20.17, 15.27, -35.34)
CIE-LCHlch(20.17, 38.50, 293.37°)
OKLaboklab(31.76% 0.0001 -0.1015)
OKLCHoklch(31.76% 0.101 270)
XYZxyz(3.8139, 3.0319, 12.6936)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2C65 #65581F
analogous
#1F4F65 #1F2C65 #351F65
triadic
#1F2C65 #651F2C #2C651F
tetradic
#1F2C65 #651F4F #65581F #1F6535
square
#1F2C65 #651F4F #65581F #1F6535
split-complementary
#1F2C65 #65351F #4F651F
monochromatic
#070A17 #111836 #1F2C65 #2D4094 #3C55C3

Accessibility & contrast

On white

13.07
#1F2C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1F2C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2C65
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2C65#FFFFFF#000000##FFFFFF
##1F2C651.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063467
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f2c65;
/* rgb */ color: rgb(31, 44, 101);
/* oklch */ color: oklch(31.8% 0.101 270.0);
Tailwind
colors: {
  custom: {
    50: '#646491',
    500: '#1f2c65',
    950: '#000000',
  },
}
SCSS
$custom: #1f2c65;
$custom-light: #646491;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2c65",
  "rgb": {
    "r": 31,
    "g": 44,
    "b": 101
  },
  "hsl": {
    "h": 228.857,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31756,
    "c": 0.10148,
    "h": 270
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#1F2C65
secondary
#998A46
accent
#C14BDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1F2C65

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

Preview Lab → · Contrast checker → · Palette generator →

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