#1B2674#1B2674

#1B2674 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.133 H 270.4°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#1B2674
RGBrgb(27, 38, 116)
HSLhsl(233, 62%, 28%)
HSVhsv(233, 77%, 45%)
CMYKcmyk(76.7%, 67.2%, 0%, 54.5%)
CIE-LABlab(19.56, 24.86, -46.07)
CIE-LCHlch(19.56, 52.35, 298.35°)
OKLaboklab(31.64% 0.0009 -0.1332)
OKLCHoklch(31.64% 0.133 270.4)
XYZxyz(4.2964, 2.8797, 16.8490)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2674 #74691B
analogous
#1B5274 #1B2674 #3C1B74
triadic
#1B2674 #741B26 #26741B
tetradic
#1B2674 #741B52 #74691B #1B743C
square
#1B2674 #741B52 #74691B #1B743C
split-complementary
#1B2674 #743C1B #52741B
monochromatic
#060819 #0F1642 #1B2674 #2736A6 #394BD1

Accessibility & contrast

On white

13.32
#1B2674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B2674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2674
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2674#FFFFFF#000000##FFFFFF
##1B26741.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2674;
/* rgb */ color: rgb(27, 38, 116);
/* oklch */ color: oklch(31.6% 0.133 270.4);
Tailwind
colors: {
  custom: {
    50: '#66609d',
    500: '#1b2674',
    950: '#000000',
  },
}
SCSS
$custom: #1b2674;
$custom-light: #66609d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2674",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 232.584,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31642,
    "c": 0.13318,
    "h": 270.4
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#1B2674
secondary
#A99C42
accent
#D142E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1B2674

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

Preview Lab → · Contrast checker → · Palette generator →

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