#1B244C#1B244C

#1B244C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.074 H 271.2°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#1B244C
RGBrgb(27, 36, 76)
HSLhsl(229, 48%, 20%)
HSVhsv(229, 64%, 30%)
CMYKcmyk(64.5%, 52.6%, 0%, 70.2%)
CIE-LABlab(15.57, 10.33, -26.06)
CIE-LCHlch(15.57, 28.03, 291.62°)
OKLaboklab(27.6% 0.0016 -0.0744)
OKLCHoklch(27.6% 0.074 271.2)
XYZxyz(2.3869, 2.0164, 7.0995)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B244C #4C431B
analogous
#1B3C4C #1B244C #2B1B4C
triadic
#1B244C #4C1B24 #244C1B
tetradic
#1B244C #4C1B3C #4C431B #1B4C2B
square
#1B244C #4C1B3C #4C431B #1B4C2B
split-complementary
#1B244C #4C2B1B #3C4C1B
monochromatic
#080B17 #0B0F1F #1B244C #2B3979 #3B4FA6

Accessibility & contrast

On white

14.96
#1B244C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1B244C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B244C
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B244C#FFFFFF#000000##FFFFFF
##1B244C1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294D
Deuteranopia (green-blind)
#09254B
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1b244c;
/* rgb */ color: rgb(27, 36, 76);
/* oklch */ color: oklch(27.6% 0.074 271.2);
Tailwind
colors: {
  custom: {
    50: '#5d5e7e',
    500: '#1b244c',
    950: '#000000',
  },
}
SCSS
$custom: #1b244c;
$custom-light: #5d5e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b244c",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 76
  },
  "hsl": {
    "h": 228.98,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27602,
    "c": 0.07443,
    "h": 271.2
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#1B244C
secondary
#827641
accent
#BE51D7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1B244C

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

Preview Lab → · Contrast checker → · Palette generator →

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