#1B2F82#1B2F82

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

Color values

HEX#1B2F82
RGBrgb(27, 47, 130)
HSLhsl(228, 66%, 31%)
HSVhsv(228, 79%, 51%)
CMYKcmyk(79.2%, 63.8%, 0%, 49%)
CIE-LABlab(23.26, 24.12, -48.90)
CIE-LCHlch(23.26, 54.53, 296.26°)
OKLaboklab(34.78% -0.0057 -0.1414)
OKLCHoklch(34.78% 0.142 267.7)
XYZxyz(5.4964, 3.8771, 21.5735)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F82 #826E1B
analogous
#1B6282 #1B2F82 #3B1B82
triadic
#1B2F82 #821B2F #2F821B
tetradic
#1B2F82 #821B62 #826E1B #1B823B
square
#1B2F82 #821B62 #826E1B #1B823B
split-complementary
#1B2F82 #823B1B #62821B
monochromatic
#060A1D #101D4F #1B2F82 #2641B5 #405DD7

Accessibility & contrast

On white

11.83
#1B2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2F82
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F82#FFFFFF#000000##FFFFFF
##1B2F821.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2f82;
/* rgb */ color: rgb(27, 47, 130);
/* oklch */ color: oklch(34.8% 0.142 267.7);
Tailwind
colors: {
  custom: {
    50: '#6967a7',
    500: '#1b2f82',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f82;
$custom-light: #6967a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f82",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 228.35,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34775,
    "c": 0.14151,
    "h": 267.7
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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