#1F136A#1F136A

#1F136A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.140 H 278.2°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#1F136A
RGBrgb(31, 19, 106)
HSLhsl(248, 70%, 25%)
HSVhsv(248, 82%, 42%)
CMYKcmyk(70.8%, 82.1%, 0%, 58.4%)
CIE-LABlab(14.39, 33.75, -48.07)
CIE-LCHlch(14.39, 58.74, 305.07°)
OKLaboklab(27.69% 0.0201 -0.1389)
OKLCHoklch(27.69% 0.14 278.2)
XYZxyz(3.3986, 1.7974, 13.8007)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F136A #5E6A13
analogous
#13336A #1F136A #4B136A
triadic
#1F136A #6A1F13 #136A1F
tetradic
#1F136A #6A1333 #5E6A13 #136A4B
square
#1F136A #6A1333 #5E6A13 #136A4B
split-complementary
#1F136A #6A4B13 #336A13
monochromatic
#08051A #100A36 #1F136A #2E1C9E #3D26D2

Accessibility & contrast

On white

15.45
#1F136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1F136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F136A
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F136A#FFFFFF#000000##FFFFFF
##1F136A1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1f136a;
/* rgb */ color: rgb(31, 19, 106);
/* oklch */ color: oklch(27.7% 0.140 278.2);
Tailwind
colors: {
  custom: {
    50: '#675396',
    500: '#1f136a',
    950: '#000000',
  },
}
SCSS
$custom: #1f136a;
$custom-light: #675396;
$custom-dark: #000000;
JSON
{
  "hex": "#1f136a",
  "rgb": {
    "r": 31,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 248.276,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27688,
    "c": 0.14032,
    "h": 278.2
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#1F136A
secondary
#93A138
accent
#EC3BD4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1F136A

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

Preview Lab → · Contrast checker → · Palette generator →

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