#1B2863#1B2863

#1B2863 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.105 H 269.7°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#1B2863
RGBrgb(27, 40, 99)
HSLhsl(229, 57%, 25%)
HSVhsv(229, 73%, 39%)
CMYKcmyk(72.7%, 59.6%, 0%, 61.2%)
CIE-LABlab(18.59, 16.65, -36.60)
CIE-LCHlch(18.59, 40.21, 294.47°)
OKLaboklab(30.45% -0.0006 -0.1054)
OKLCHoklch(30.45% 0.105 269.7)
XYZxyz(3.4621, 2.6511, 12.1312)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2863 #63561B
analogous
#1B4C63 #1B2863 #321B63
triadic
#1B2863 #631B28 #28631B
tetradic
#1B2863 #631B4C #63561B #1B6332
square
#1B2863 #631B4C #63561B #1B6332
split-complementary
#1B2863 #63321B #4C631B
monochromatic
#070A18 #0E1533 #1B2863 #283B93 #354FC3

Accessibility & contrast

On white

13.72
#1B2863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B2863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2863
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2863#FFFFFF#000000##FFFFFF
##1B28631.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b2863;
/* rgb */ color: rgb(27, 40, 99);
/* oklch */ color: oklch(30.5% 0.105 269.7);
Tailwind
colors: {
  custom: {
    50: '#626190',
    500: '#1b2863',
    950: '#000000',
  },
}
SCSS
$custom: #1b2863;
$custom-light: #626190;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2863",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 229.167,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30451,
    "c": 0.10536,
    "h": 269.7
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#1B2863
secondary
#988941
accent
#C547E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #1B2863

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

Preview Lab → · Contrast checker → · Palette generator →

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