#1B3262#1B3262

#1B3262 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.090 H 263.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1B3262
RGBrgb(27, 50, 98)
HSLhsl(221, 57%, 25%)
HSVhsv(221, 72%, 38%)
CMYKcmyk(72.4%, 49%, 0%, 61.6%)
CIE-LABlab(21.56, 9.00, -31.15)
CIE-LCHlch(21.56, 32.42, 286.12°)
OKLaboklab(32.68% -0.0108 -0.0891)
OKLCHoklch(32.68% 0.09 263.1)
XYZxyz(3.7964, 3.3957, 12.0083)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3262 #624B1B
analogous
#1B5662 #1B3262 #271B62
triadic
#1B3262 #621B32 #32621B
tetradic
#1B3262 #621B56 #624B1B #1B6227
square
#1B3262 #621B56 #624B1B #1B6227
split-complementary
#1B3262 #62271B #56621B
monochromatic
#070C18 #0E1A32 #1B3262 #284A92 #3563C2

Accessibility & contrast

On white

12.51
#1B3262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3262
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3262#FFFFFF#000000##FFFFFF
##1B32621.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3764
Deuteranopia (green-blind)
#0C3161
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b3262;
/* rgb */ color: rgb(27, 50, 98);
/* oklch */ color: oklch(32.7% 0.090 263.1);
Tailwind
colors: {
  custom: {
    50: '#61698f',
    500: '#1b3262',
    950: '#000000',
  },
}
SCSS
$custom: #1b3262;
$custom-light: #61698f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3262",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 220.563,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32684,
    "c": 0.08979,
    "h": 263.1
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#1B3262
secondary
#987C41
accent
#AF48E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1B3262

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

Preview Lab → · Contrast checker → · Palette generator →

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