#1F2D64#1F2D64

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

Color values

HEX#1F2D64
RGBrgb(31, 45, 100)
HSLhsl(228, 53%, 26%)
HSVhsv(228, 69%, 39%)
CMYKcmyk(69%, 55%, 0%, 60.8%)
CIE-LABlab(20.39, 14.15, -34.33)
CIE-LCHlch(20.39, 37.13, 292.40°)
OKLaboklab(31.9% -0.0011 -0.0985)
OKLCHoklch(31.9% 0.099 269.4)
XYZxyz(3.8029, 3.0878, 12.4497)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D64 #64561F
analogous
#1F4F64 #1F2D64 #331F64
triadic
#1F2D64 #641F2D #2D641F
tetradic
#1F2D64 #641F4F #64561F #1F6433
square
#1F2D64 #641F4F #64561F #1F6433
split-complementary
#1F2D64 #64331F #4F641F
monochromatic
#070B17 #111835 #1F2D64 #2D4293 #3C57C1

Accessibility & contrast

On white

12.98
#1F2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2D64
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D64#FFFFFF#000000##FFFFFF
##1F2D641.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3466
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f2d64;
/* rgb */ color: rgb(31, 45, 100);
/* oklch */ color: oklch(31.9% 0.099 269.4);
Tailwind
colors: {
  custom: {
    50: '#636591',
    500: '#1f2d64',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d64;
$custom-light: #636591;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d64",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 227.826,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31899,
    "c": 0.0985,
    "h": 269.4
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#1F2D64
secondary
#988846
accent
#BF4CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050D
muted
#7A7A7D

Preview Lab

Preview with #1F2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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