#1B245D#1B245D

#1B245D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.102 H 271.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#1B245D
RGBrgb(27, 36, 93)
HSLhsl(232, 55%, 24%)
HSVhsv(232, 71%, 36%)
CMYKcmyk(71%, 61.3%, 0%, 63.5%)
CIE-LABlab(16.92, 17.15, -35.35)
CIE-LCHlch(16.92, 39.29, 295.88°)
OKLaboklab(29.04% 0.0031 -0.1017)
OKLCHoklch(29.04% 0.102 271.7)
XYZxyz(3.0580, 2.2848, 10.6337)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B245D #5D541B
analogous
#1B455D #1B245D #331B5D
triadic
#1B245D #5D1B24 #245D1B
tetradic
#1B245D #5D1B45 #5D541B #1B5D33
square
#1B245D #5D1B45 #5D541B #1B5D33
split-complementary
#1B245D #5D331B #455D1B
monochromatic
#070918 #0D122E #1B245D #29368C #3749BC

Accessibility & contrast

On white

14.41
#1B245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1B245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B245D
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B245D#FFFFFF#000000##FFFFFF
##1B245D1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b245d;
/* rgb */ color: rgb(27, 36, 93);
/* oklch */ color: oklch(29.0% 0.102 271.7);
Tailwind
colors: {
  custom: {
    50: '#615e8b',
    500: '#1b245d',
    950: '#000000',
  },
}
SCSS
$custom: #1b245d;
$custom-light: #615e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b245d",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 231.818,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29041,
    "c": 0.10178,
    "h": 271.7
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#1B245D
secondary
#938841
accent
#CA49DE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1B245D

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

Preview Lab → · Contrast checker → · Palette generator →

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