#1B375F#1B375F

#1B375F is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.7% C 0.079 H 257.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1B375F
RGBrgb(27, 55, 95)
HSLhsl(215, 56%, 24%)
HSVhsv(215, 72%, 37%)
CMYKcmyk(71.6%, 42.1%, 0%, 62.7%)
CIE-LABlab(22.97, 4.24, -26.94)
CIE-LCHlch(22.97, 27.27, 278.94°)
OKLaboklab(33.71% -0.017 -0.0767)
OKLCHoklch(33.71% 0.079 257.5)
XYZxyz(3.8830, 3.7912, 11.3514)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B375F #5F431B
analogous
#1B595F #1B375F #211B5F
triadic
#1B375F #5F1B37 #375F1B
tetradic
#1B375F #5F1B59 #5F431B #1B5F21
square
#1B375F #5F1B59 #5F431B #1B5F21
split-complementary
#1B375F #5F211B #595F1B
monochromatic
#070E18 #0D1B2F #1B375F #29538F #366EBE

Accessibility & contrast

On white

11.94
#1B375F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1B375F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B375F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B375F#FFFFFF#000000##FFFFFF
##1B375F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A61
Deuteranopia (green-blind)
#1B345E
Tritanopia (blue-blind)
#004046
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b375f;
/* rgb */ color: rgb(27, 55, 95);
/* oklch */ color: oklch(33.7% 0.079 257.5);
Tailwind
colors: {
  custom: {
    50: '#606d8c',
    500: '#1b375f',
    950: '#000000',
  },
}
SCSS
$custom: #1b375f;
$custom-light: #606d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b375f",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 95
  },
  "hsl": {
    "h": 215.294,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33706,
    "c": 0.07856,
    "h": 257.5
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#1B375F
secondary
#957241
accent
#A149DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #1B375F

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

Preview Lab → · Contrast checker → · Palette generator →

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