#1B306D#1B306D

#1B306D is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.109 H 266.2°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#1B306D
RGBrgb(27, 48, 109)
HSLhsl(225, 60%, 27%)
HSVhsv(225, 75%, 43%)
CMYKcmyk(75.2%, 56%, 0%, 57.3%)
CIE-LABlab(21.77, 14.94, -37.97)
CIE-LCHlch(21.77, 40.80, 291.48°)
OKLaboklab(33.1% -0.0073 -0.1092)
OKLCHoklch(33.1% 0.109 266.2)
XYZxyz(4.2683, 3.4506, 14.9061)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B306D #6D581B
analogous
#1B596D #1B306D #2F1B6D
triadic
#1B306D #6D1B30 #306D1B
tetradic
#1B306D #6D1B59 #6D581B #1B6D2F
square
#1B306D #6D1B59 #6D581B #1B6D2F
split-complementary
#1B306D #6D2F1B #596D1B
monochromatic
#060B19 #0F1A3C #1B306D #27469E #355CCD

Accessibility & contrast

On white

12.42
#1B306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B306D
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B306D#FFFFFF#000000##FFFFFF
##1B306D1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b306d;
/* rgb */ color: rgb(27, 48, 109);
/* oklch */ color: oklch(33.1% 0.109 266.2);
Tailwind
colors: {
  custom: {
    50: '#646797',
    500: '#1b306d',
    950: '#000000',
  },
}
SCSS
$custom: #1b306d;
$custom-light: #646797;
$custom-dark: #000000;
JSON
{
  "hex": "#1b306d",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 224.634,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33098,
    "c": 0.10948,
    "h": 266.2
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#1B306D
secondary
#A28942
accent
#BB44E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B306D

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

Preview Lab → · Contrast checker → · Palette generator →

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