#1B2463#1B2463

#1B2463 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.111 H 271.6°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#1B2463
RGBrgb(27, 36, 99)
HSLhsl(233, 57%, 25%)
HSVhsv(233, 73%, 39%)
CMYKcmyk(72.7%, 63.6%, 0%, 61.2%)
CIE-LABlab(17.44, 19.55, -38.47)
CIE-LCHlch(17.44, 43.15, 296.93°)
OKLaboklab(29.59% 0.0031 -0.1109)
OKLCHoklch(29.59% 0.111 271.6)
XYZxyz(3.3342, 2.3953, 12.0886)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2463 #635A1B
analogous
#1B4863 #1B2463 #361B63
triadic
#1B2463 #631B24 #24631B
tetradic
#1B2463 #631B48 #635A1B #1B6336
square
#1B2463 #631B48 #635A1B #1B6336
split-complementary
#1B2463 #63361B #48631B
monochromatic
#070918 #0E1333 #1B2463 #283593 #3547C3

Accessibility & contrast

On white

14.20
#1B2463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1B2463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2463
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2463#FFFFFF#000000##FFFFFF
##1B24631.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b2463;
/* rgb */ color: rgb(27, 36, 99);
/* oklch */ color: oklch(29.6% 0.111 271.6);
Tailwind
colors: {
  custom: {
    50: '#625e90',
    500: '#1b2463',
    950: '#000000',
  },
}
SCSS
$custom: #1b2463;
$custom-light: #625e90;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2463",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 99
  },
  "hsl": {
    "h": 232.5,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29593,
    "c": 0.11095,
    "h": 271.6
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#1B2463
secondary
#988E41
accent
#CD47E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1B2463

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

Preview Lab → · Contrast checker → · Palette generator →

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