#1B2A63#1B2A63

#1B2A63 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.103 H 268.6°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1B2A63
RGBrgb(27, 42, 99)
HSLhsl(228, 57%, 25%)
HSVhsv(228, 73%, 39%)
CMYKcmyk(72.7%, 57.6%, 0%, 61.2%)
CIE-LABlab(19.18, 15.20, -35.64)
CIE-LCHlch(19.18, 38.75, 293.10°)
OKLaboklab(30.9% -0.0025 -0.1025)
OKLCHoklch(30.9% 0.103 268.6)
XYZxyz(3.5313, 2.7895, 12.1543)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A63 #63541B
analogous
#1B4E63 #1B2A63 #301B63
triadic
#1B2A63 #631B2A #2A631B
tetradic
#1B2A63 #631B4E #63541B #1B6330
square
#1B2A63 #631B4E #63541B #1B6330
split-complementary
#1B2A63 #63301B #4E631B
monochromatic
#070A18 #0E1633 #1B2A63 #283E93 #3553C3

Accessibility & contrast

On white

13.48
#1B2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A63
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A63#FFFFFF#000000##FFFFFF
##1B2A631.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023265
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2a63;
/* rgb */ color: rgb(27, 42, 99);
/* oklch */ color: oklch(30.9% 0.103 268.6);
Tailwind
colors: {
  custom: {
    50: '#626390',
    500: '#1b2a63',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a63;
$custom-light: #626390;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a63",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 227.5,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30895,
    "c": 0.10254,
    "h": 268.6
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#1B2A63
secondary
#988641
accent
#C147E0
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1B2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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