#1B124F#1B124F

#1B124F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.106 H 281.7°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#1B124F
RGBrgb(27, 18, 79)
HSLhsl(249, 63%, 19%)
HSVhsv(249, 77%, 31%)
CMYKcmyk(65.8%, 77.2%, 0%, 69%)
CIE-LABlab(10.78, 24.42, -35.90)
CIE-LCHlch(10.78, 43.42, 304.22°)
OKLaboklab(24.14% 0.0215 -0.1035)
OKLCHoklch(24.14% 0.106 281.7)
XYZxyz(2.0791, 1.2300, 7.5235)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B124F #464F12
analogous
#12284F #1B124F #3A124F
triadic
#1B124F #4F1B12 #124F1B
tetradic
#1B124F #4F1228 #464F12 #124F3A
square
#1B124F #4F1228 #464F12 #124F3A
split-complementary
#1B124F #4F3A12 #284F12
monochromatic
#090619 #0A071D #1B124F #2C1D81 #3D29B3

Accessibility & contrast

On white

16.85
#1B124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1B124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B124F
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B124F#FFFFFF#000000##FFFFFF
##1B124F1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1b124f;
/* rgb */ color: rgb(27, 18, 79);
/* oklch */ color: oklch(24.1% 0.106 281.7);
Tailwind
colors: {
  custom: {
    50: '#5f5181',
    500: '#1b124f',
    950: '#000000',
  },
}
SCSS
$custom: #1b124f;
$custom-light: #5f5181;
$custom-dark: #000000;
JSON
{
  "hex": "#1b124f",
  "rgb": {
    "r": 27,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 248.852,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24138,
    "c": 0.10566,
    "h": 281.7
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#1B124F
secondary
#7C8835
accent
#E642CE
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1B124F

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

Preview Lab → · Contrast checker → · Palette generator →

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