#1B307A#1B307A

#1B307A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.129 H 267.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#1B307A
RGBrgb(27, 48, 122)
HSLhsl(227, 64%, 29%)
HSVhsv(227, 78%, 48%)
CMYKcmyk(77.9%, 60.7%, 0%, 52.2%)
CIE-LABlab(22.83, 20.22, -44.55)
CIE-LCHlch(22.83, 48.93, 294.42°)
OKLaboklab(34.24% -0.0065 -0.1286)
OKLCHoklch(34.24% 0.129 267.1)
XYZxyz(5.0206, 3.7515, 18.8681)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B307A #7A651B
analogous
#1B607A #1B307A #361B7A
triadic
#1B307A #7A1B30 #307A1B
tetradic
#1B307A #7A1B60 #7A651B #1B7A36
square
#1B307A #7A1B60 #7A651B #1B7A36
split-complementary
#1B307A #7A361B #607A1B
monochromatic
#060A19 #101C48 #1B307A #2644AC #3C5DD4

Accessibility & contrast

On white

12.00
#1B307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1B307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B307A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B307A#FFFFFF#000000##FFFFFF
##1B307A1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b307a;
/* rgb */ color: rgb(27, 48, 122);
/* oklch */ color: oklch(34.2% 0.129 267.1);
Tailwind
colors: {
  custom: {
    50: '#6767a1',
    500: '#1b307a',
    950: '#000000',
  },
}
SCSS
$custom: #1b307a;
$custom-light: #6767a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b307a",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 226.737,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34237,
    "c": 0.12876,
    "h": 267.1
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#1B307A
secondary
#AE9643
accent
#C241E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B307A

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

Preview Lab → · Contrast checker → · Palette generator →

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