#1F1269#1F1269

#1F1269 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.140 H 278.6°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#1F1269
RGBrgb(31, 18, 105)
HSLhsl(249, 71%, 24%)
HSVhsv(249, 83%, 41%)
CMYKcmyk(70.5%, 82.9%, 0%, 58.8%)
CIE-LABlab(14.08, 33.96, -47.92)
CIE-LCHlch(14.08, 58.74, 305.32°)
OKLaboklab(27.44% 0.021 -0.1384)
OKLCHoklch(27.44% 0.14 278.6)
XYZxyz(3.3304, 1.7436, 13.5229)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1269 #5C6912
analogous
#123069 #1F1269 #4B1269
triadic
#1F1269 #691F12 #12691F
tetradic
#1F1269 #691230 #5C6912 #12694B
square
#1F1269 #691230 #5C6912 #12694B
split-complementary
#1F1269 #694B12 #306912
monochromatic
#08041A #100935 #1F1269 #2E1B9D #3E24D1

Accessibility & contrast

On white

15.57
#1F1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1F1269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1269
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1269#FFFFFF#000000##FFFFFF
##1F12691.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276B
Deuteranopia (green-blind)
#002067
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1f1269;
/* rgb */ color: rgb(31, 18, 105);
/* oklch */ color: oklch(27.4% 0.140 278.6);
Tailwind
colors: {
  custom: {
    50: '#675295',
    500: '#1f1269',
    950: '#000000',
  },
}
SCSS
$custom: #1f1269;
$custom-light: #675295;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1269",
  "rgb": {
    "r": 31,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 248.966,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27439,
    "c": 0.14,
    "h": 278.6
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#1F1269
secondary
#91A136
accent
#ED3AD3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1F1269

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

Preview Lab → · Contrast checker → · Palette generator →

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