#1B309F#1B309F

#1B309F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.179 H 267.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#1B309F
RGBrgb(27, 48, 159)
HSLhsl(230, 71%, 36%)
HSVhsv(230, 83%, 62%)
CMYKcmyk(83%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.30, 34.62, -61.84)
CIE-LCHlch(26.30, 70.88, 299.24°)
OKLaboklab(37.85% -0.0077 -0.1792)
OKLCHoklch(37.85% 0.179 267.5)
XYZxyz(7.7648, 4.8492, 33.3209)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B309F #9F8A1B
analogous
#1B729F #1B309F #481B9F
triadic
#1B309F #9F1B30 #309F1B
tetradic
#1B309F #9F1B72 #9F8A1B #1B9F48
square
#1B309F #9F1B72 #9F8A1B #1B9F48
split-complementary
#1B309F #9F481B #729F1B
monochromatic
#091036 #12206B #1B309F #2440D3 #5369E2

Accessibility & contrast

On white

10.66
#1B309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B309F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B309F#FFFFFF#000000##FFFFFF
##1B309F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b309f;
/* rgb */ color: rgb(27, 48, 159);
/* oklch */ color: oklch(37.9% 0.179 267.5);
Tailwind
colors: {
  custom: {
    50: '#7168bc',
    500: '#1b309f',
    950: '#000000',
  },
}
SCSS
$custom: #1b309f;
$custom-light: #7168bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b309f",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 230.455,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.17936,
    "h": 267.5
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#1B309F
secondary
#C5B251
accent
#D13AEE
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B309F

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

Preview Lab → · Contrast checker → · Palette generator →

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