#1B307D#1B307D

#1B307D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.133 H 267.2°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#1B307D
RGBrgb(27, 48, 125)
HSLhsl(227, 64%, 30%)
HSVhsv(227, 78%, 49%)
CMYKcmyk(78.4%, 61.6%, 0%, 51%)
CIE-LABlab(23.09, 21.43, -46.03)
CIE-LCHlch(23.09, 50.77, 294.97°)
OKLaboklab(34.51% -0.0064 -0.1329)
OKLCHoklch(34.51% 0.133 267.2)
XYZxyz(5.2093, 3.8270, 19.8622)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B307D #7D681B
analogous
#1B617D #1B307D #371B7D
triadic
#1B307D #7D1B30 #307D1B
tetradic
#1B307D #7D1B61 #7D681B #1B7D37
square
#1B307D #7D1B61 #7D681B #1B7D37
split-complementary
#1B307D #7D371B #617D1B
monochromatic
#050A19 #101D4B #1B307D #2643AF #3D5ED5

Accessibility & contrast

On white

11.89
#1B307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1B307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B307D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B307D#FFFFFF#000000##FFFFFF
##1B307D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b307d;
/* rgb */ color: rgb(27, 48, 125);
/* oklch */ color: oklch(34.5% 0.133 267.2);
Tailwind
colors: {
  custom: {
    50: '#6868a3',
    500: '#1b307d',
    950: '#000000',
  },
}
SCSS
$custom: #1b307d;
$custom-light: #6868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b307d",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 227.143,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34511,
    "c": 0.1331,
    "h": 267.2
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#1B307D
secondary
#B19943
accent
#C440E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B307D

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

Preview Lab → · Contrast checker → · Palette generator →

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