#1B3263#1B3263

#1B3263 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.091 H 263.3°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#1B3263
RGBrgb(27, 50, 99)
HSLhsl(221, 57%, 25%)
HSVhsv(221, 73%, 39%)
CMYKcmyk(72.7%, 49.5%, 0%, 61.2%)
CIE-LABlab(21.63, 9.41, -31.69)
CIE-LCHlch(21.63, 33.06, 286.54°)
OKLaboklab(32.76% -0.0106 -0.0907)
OKLCHoklch(32.76% 0.091 263.3)
XYZxyz(3.8439, 3.4147, 12.2585)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3263 #634C1B
analogous
#1B5663 #1B3263 #281B63
triadic
#1B3263 #631B32 #32631B
tetradic
#1B3263 #631B56 #634C1B #1B6328
square
#1B3263 #631B56 #634C1B #1B6328
split-complementary
#1B3263 #63281B #56631B
monochromatic
#070C18 #0E1A33 #1B3263 #284A93 #3563C3

Accessibility & contrast

On white

12.48
#1B3263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B3263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3263
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3263#FFFFFF#000000##FFFFFF
##1B32631.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193765
Deuteranopia (green-blind)
#0A3162
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b3263;
/* rgb */ color: rgb(27, 50, 99);
/* oklch */ color: oklch(32.8% 0.091 263.3);
Tailwind
colors: {
  custom: {
    50: '#616990',
    500: '#1b3263',
    950: '#000000',
  },
}
SCSS
$custom: #1b3263;
$custom-light: #616990;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3263",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 99
  },
  "hsl": {
    "h": 220.833,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32761,
    "c": 0.09135,
    "h": 263.3
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#1B3263
secondary
#987D41
accent
#B047E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1B3263

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

Preview Lab → · Contrast checker → · Palette generator →

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