#1B2972#1B2972

#1B2972 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.126 H 269.5°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#1B2972
RGBrgb(27, 41, 114)
HSLhsl(230, 62%, 28%)
HSVhsv(230, 76%, 45%)
CMYKcmyk(76.3%, 64%, 0%, 55.3%)
CIE-LABlab(20.18, 21.97, -43.77)
CIE-LCHlch(20.18, 48.97, 296.65°)
OKLaboklab(32.04% -0.0012 -0.1264)
OKLCHoklch(32.04% 0.126 269.5)
XYZxyz(4.2812, 3.0333, 16.2762)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2972 #72641B
analogous
#1B5472 #1B2972 #391B72
triadic
#1B2972 #721B29 #29721B
tetradic
#1B2972 #721B54 #72641B #1B7239
square
#1B2972 #721B54 #72641B #1B7239
split-complementary
#1B2972 #72391B #54721B
monochromatic
#060919 #0F1741 #1B2972 #273BA3 #3850D0

Accessibility & contrast

On white

13.07
#1B2972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2972
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2972#FFFFFF#000000##FFFFFF
##1B29721.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2972;
/* rgb */ color: rgb(27, 41, 114);
/* oklch */ color: oklch(32.0% 0.126 269.5);
Tailwind
colors: {
  custom: {
    50: '#65629b',
    500: '#1b2972',
    950: '#000000',
  },
}
SCSS
$custom: #1b2972;
$custom-light: #65629b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2972",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 230.345,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32042,
    "c": 0.12641,
    "h": 269.5
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#1B2972
secondary
#A79642
accent
#CB43E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1B2972

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

Preview Lab → · Contrast checker → · Palette generator →

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