#1F26B0#1F26B0

#1F26B0 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.209 H 269.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#1F26B0
RGBrgb(31, 38, 176)
HSLhsl(237, 70%, 41%)
HSVhsv(237, 82%, 69%)
CMYKcmyk(82.4%, 78.4%, 0%, 31%)
CIE-LABlab(26.19, 46.82, -72.29)
CIE-LCHlch(26.19, 86.12, 302.93°)
OKLaboklab(38.37% -0.0029 -0.2094)
OKLCHoklch(38.37% 0.209 269.2)
XYZxyz(9.0920, 4.8110, 41.5153)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F26B0 #B0A91F
analogous
#1F6FB0 #1F26B0 #601FB0
triadic
#1F26B0 #B01F26 #26B01F
tetradic
#1F26B0 #B01F6F #B0A91F #1FB060
square
#1F26B0 #B01F6F #B0A91F #1FB060
split-complementary
#1F26B0 #B0601F #6FB01F
monochromatic
#0D1048 #161B7C #1F26B0 #313ADB #656CE4

Accessibility & contrast

On white

10.70
#1F26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1F26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F26B0
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F26B0#FFFFFF#000000##FFFFFF
##1F26B01.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0036AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f26b0;
/* rgb */ color: rgb(31, 38, 176);
/* oklch */ color: oklch(38.4% 0.209 269.2);
Tailwind
colors: {
  custom: {
    50: '#7863c9',
    500: '#1f26b0',
    950: '#000000',
  },
}
SCSS
$custom: #1f26b0;
$custom-light: #7863c9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f26b0",
  "rgb": {
    "r": 31,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 237.103,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38365,
    "c": 0.20943,
    "h": 269.2
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#1F26B0
secondary
#C9C462
accent
#E43BED
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #1F26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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