#1B306E#1B306E

#1B306E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.111 H 266.3°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1B306E
RGBrgb(27, 48, 110)
HSLhsl(225, 61%, 27%)
HSVhsv(225, 75%, 43%)
CMYKcmyk(75.5%, 56.4%, 0%, 56.9%)
CIE-LABlab(21.84, 15.35, -38.48)
CIE-LCHlch(21.84, 41.43, 291.75°)
OKLaboklab(33.18% -0.0072 -0.1108)
OKLCHoklch(33.18% 0.111 266.3)
XYZxyz(4.3224, 3.4723, 15.1912)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B306E #6E591B
analogous
#1B5A6E #1B306E #301B6E
triadic
#1B306E #6E1B30 #306E1B
tetradic
#1B306E #6E1B5A #6E591B #1B6E30
square
#1B306E #6E1B5A #6E591B #1B6E30
split-complementary
#1B306E #6E301B #5A6E1B
monochromatic
#060B19 #0F1B3D #1B306E #27459F #365CCE

Accessibility & contrast

On white

12.39
#1B306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B306E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B306E#FFFFFF#000000##FFFFFF
##1B306E1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033870
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b306e;
/* rgb */ color: rgb(27, 48, 110);
/* oklch */ color: oklch(33.2% 0.111 266.3);
Tailwind
colors: {
  custom: {
    50: '#646798',
    500: '#1b306e',
    950: '#000000',
  },
}
SCSS
$custom: #1b306e;
$custom-light: #646798;
$custom-dark: #000000;
JSON
{
  "hex": "#1b306e",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 224.819,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33183,
    "c": 0.11099,
    "h": 266.3
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#1B306E
secondary
#A38A42
accent
#BB44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B306E

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

Preview Lab → · Contrast checker → · Palette generator →

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