#1B2F83#1B2F83

#1B2F83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.143 H 267.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#1B2F83
RGBrgb(27, 47, 131)
HSLhsl(228, 66%, 31%)
HSVhsv(228, 79%, 51%)
CMYKcmyk(79.4%, 64.1%, 0%, 48.6%)
CIE-LABlab(23.35, 24.52, -49.38)
CIE-LCHlch(23.35, 55.14, 296.40°)
OKLaboklab(34.87% -0.0057 -0.1428)
OKLCHoklch(34.87% 0.143 267.7)
XYZxyz(5.5638, 3.9041, 21.9287)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F83 #836F1B
analogous
#1B6383 #1B2F83 #3B1B83
triadic
#1B2F83 #831B2F #2F831B
tetradic
#1B2F83 #831B63 #836F1B #1B833B
square
#1B2F83 #831B63 #836F1B #1B833B
split-complementary
#1B2F83 #833B1B #63831B
monochromatic
#060B1E #111D50 #1B2F83 #2541B6 #415ED8

Accessibility & contrast

On white

11.79
#1B2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F83
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F83#FFFFFF#000000##FFFFFF
##1B2F831.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b2f83;
/* rgb */ color: rgb(27, 47, 131);
/* oklch */ color: oklch(34.9% 0.143 267.7);
Tailwind
colors: {
  custom: {
    50: '#6967a8',
    500: '#1b2f83',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f83;
$custom-light: #6967a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f83",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 228.462,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34871,
    "c": 0.1429,
    "h": 267.7
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#1B2F83
secondary
#B6A043
accent
#C83FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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