#1B244F#1B244F

#1B244F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.079 H 271.5°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#1B244F
RGBrgb(27, 36, 79)
HSLhsl(230, 49%, 21%)
HSVhsv(230, 66%, 31%)
CMYKcmyk(65.8%, 54.4%, 0%, 69%)
CIE-LABlab(15.79, 11.53, -27.75)
CIE-LCHlch(15.79, 30.05, 292.56°)
OKLaboklab(27.84% 0.002 -0.0794)
OKLCHoklch(27.84% 0.079 271.5)
XYZxyz(2.4937, 2.0591, 7.6617)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B244F #4F461B
analogous
#1B3E4F #1B244F #2C1B4F
triadic
#1B244F #4F1B24 #244F1B
tetradic
#1B244F #4F1B3E #4F461B #1B4F2C
square
#1B244F #4F1B3E #4F461B #1B4F2C
split-complementary
#1B244F #4F2C1B #3E4F1B
monochromatic
#080A17 #0B0F21 #1B244F #2B397D #3A4EAA

Accessibility & contrast

On white

14.87
#1B244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1B244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B244F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B244F#FFFFFF#000000##FFFFFF
##1B244F1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2A51
Deuteranopia (green-blind)
#05254E
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1b244f;
/* rgb */ color: rgb(27, 36, 79);
/* oklch */ color: oklch(27.8% 0.079 271.5);
Tailwind
colors: {
  custom: {
    50: '#5d5e81',
    500: '#1b244f',
    950: '#000000',
  },
}
SCSS
$custom: #1b244f;
$custom-light: #5d5e81;
$custom-dark: #000000;
JSON
{
  "hex": "#1b244f",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 229.615,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27841,
    "c": 0.07941,
    "h": 271.5
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#1B244F
secondary
#857941
accent
#C14FD9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1B244F

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

Preview Lab → · Contrast checker → · Palette generator →

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