#1B2A75#1B2A75

#1B2A75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.129 H 269.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1B2A75
RGBrgb(27, 42, 117)
HSLhsl(230, 63%, 28%)
HSVhsv(230, 77%, 46%)
CMYKcmyk(76.9%, 64.1%, 0%, 54.1%)
CIE-LABlab(20.72, 22.45, -44.80)
CIE-LCHlch(20.72, 50.12, 296.62°)
OKLaboklab(32.53% -0.002 -0.1294)
OKLCHoklch(32.53% 0.129 269.1)
XYZxyz(4.4897, 3.1728, 17.2020)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A75 #75661B
analogous
#1B5775 #1B2A75 #391B75
triadic
#1B2A75 #751B2A #2A751B
tetradic
#1B2A75 #751B57 #75661B #1B7539
square
#1B2A75 #751B57 #75661B #1B7539
split-complementary
#1B2A75 #75391B #57751B
monochromatic
#060919 #101843 #1B2A75 #263CA7 #3952D1

Accessibility & contrast

On white

12.85
#1B2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A75
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A75#FFFFFF#000000##FFFFFF
##1B2A751.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2a75;
/* rgb */ color: rgb(27, 42, 117);
/* oklch */ color: oklch(32.5% 0.129 269.1);
Tailwind
colors: {
  custom: {
    50: '#66639d',
    500: '#1b2a75',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a75;
$custom-light: #66639d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a75",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 230,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32531,
    "c": 0.12944,
    "h": 269.1
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#1B2A75
secondary
#A99842
accent
#CA42E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1B2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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