#1B1875#1B1875

#1B1875 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.151 H 273.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#1B1875
RGBrgb(27, 24, 117)
HSLhsl(242, 66%, 28%)
HSVhsv(242, 79%, 46%)
CMYKcmyk(76.9%, 79.5%, 0%, 54.1%)
CIE-LABlab(16.36, 34.28, -51.98)
CIE-LCHlch(16.36, 62.27, 303.41°)
OKLaboklab(29.37% 0.009 -0.1504)
OKLCHoklch(29.37% 0.151 273.4)
XYZxyz(3.9884, 2.1702, 17.0349)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1875 #727518
analogous
#184475 #1B1875 #491875
triadic
#1B1875 #751B18 #18751B
tetradic
#1B1875 #751844 #727518 #187549
square
#1B1875 #751844 #727518 #187549
split-complementary
#1B1875 #754918 #447518
monochromatic
#060519 #0F0E42 #1B1875 #2722A8 #3832D5

Accessibility & contrast

On white

14.64
#1B1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1B1875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1875
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1875#FFFFFF#000000##FFFFFF
##1B18751.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1b1875;
/* rgb */ color: rgb(27, 24, 117);
/* oklch */ color: oklch(29.4% 0.151 273.4);
Tailwind
colors: {
  custom: {
    50: '#68579e',
    500: '#1b1875',
    950: '#000000',
  },
}
SCSS
$custom: #1b1875;
$custom-light: #68579e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1875",
  "rgb": {
    "r": 27,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 241.935,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29371,
    "c": 0.15067,
    "h": 273.4
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#1B1875
secondary
#A7AA3F
accent
#E93FE3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1875

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

Preview Lab → · Contrast checker → · Palette generator →

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