#1F2B65#1F2B65

#1F2B65 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.103 H 270.6°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#1F2B65
RGBrgb(31, 43, 101)
HSLhsl(230, 53%, 26%)
HSVhsv(230, 69%, 40%)
CMYKcmyk(69.3%, 57.4%, 0%, 60.4%)
CIE-LABlab(19.88, 15.99, -35.82)
CIE-LCHlch(19.88, 39.22, 294.05°)
OKLaboklab(31.53% 0.0011 -0.1029)
OKLCHoklch(31.53% 0.103 270.6)
XYZxyz(3.7771, 2.9583, 12.6814)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B65 #65591F
analogous
#1F4E65 #1F2B65 #361F65
triadic
#1F2B65 #651F2B #2B651F
tetradic
#1F2B65 #651F4E #65591F #1F6536
square
#1F2B65 #651F4E #65591F #1F6536
split-complementary
#1F2B65 #65361F #4E651F
monochromatic
#070A17 #111736 #1F2B65 #2D3F94 #3C53C3

Accessibility & contrast

On white

13.19
#1F2B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1F2B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B65
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B65#FFFFFF#000000##FFFFFF
##1F2B651.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033367
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f2b65;
/* rgb */ color: rgb(31, 43, 101);
/* oklch */ color: oklch(31.5% 0.103 270.6);
Tailwind
colors: {
  custom: {
    50: '#646491',
    500: '#1f2b65',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b65;
$custom-light: #646491;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b65",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 229.714,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31534,
    "c": 0.10291,
    "h": 270.6
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#1F2B65
secondary
#998B46
accent
#C44BDC
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1F2B65

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

Preview Lab → · Contrast checker → · Palette generator →

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