#1F2D65#1F2D65

#1F2D65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.100 H 269.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#1F2D65
RGBrgb(31, 45, 101)
HSLhsl(228, 53%, 26%)
HSVhsv(228, 69%, 40%)
CMYKcmyk(69.3%, 55.4%, 0%, 60.4%)
CIE-LABlab(20.47, 14.55, -34.86)
CIE-LCHlch(20.47, 37.77, 292.65°)
OKLaboklab(31.98% -0.001 -0.1)
OKLCHoklch(31.98% 0.1 269.4)
XYZxyz(3.8516, 3.1073, 12.7062)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D65 #65571F
analogous
#1F5065 #1F2D65 #341F65
triadic
#1F2D65 #651F2D #2D651F
tetradic
#1F2D65 #651F50 #65571F #1F6534
square
#1F2D65 #651F50 #65571F #1F6534
split-complementary
#1F2D65 #65341F #50651F
monochromatic
#070A17 #111836 #1F2D65 #2D4294 #3C57C3

Accessibility & contrast

On white

12.95
#1F2D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2D65
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D65#FFFFFF#000000##FFFFFF
##1F2D651.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3567
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f2d65;
/* rgb */ color: rgb(31, 45, 101);
/* oklch */ color: oklch(32.0% 0.100 269.4);
Tailwind
colors: {
  custom: {
    50: '#646591',
    500: '#1f2d65',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d65;
$custom-light: #646591;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d65",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 101
  },
  "hsl": {
    "h": 228,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31981,
    "c": 0.10005,
    "h": 269.4
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#1F2D65
secondary
#998946
accent
#BF4BDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1F2D65

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

Preview Lab → · Contrast checker → · Palette generator →

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