#1B245E#1B245E

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

Color values

HEX#1B245E
RGBrgb(27, 36, 94)
HSLhsl(232, 55%, 24%)
HSVhsv(232, 71%, 37%)
CMYKcmyk(71.3%, 61.7%, 0%, 63.1%)
CIE-LABlab(17.00, 17.55, -35.88)
CIE-LCHlch(17.00, 39.94, 296.07°)
OKLaboklab(29.13% 0.0031 -0.1033)
OKLCHoklch(29.13% 0.103 271.7)
XYZxyz(3.1026, 2.3026, 10.8685)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B245E #5E551B
analogous
#1B455E #1B245E #331B5E
triadic
#1B245E #5E1B24 #245E1B
tetradic
#1B245E #5E1B45 #5E551B #1B5E33
square
#1B245E #5E1B45 #5E551B #1B5E33
split-complementary
#1B245E #5E331B #455E1B
monochromatic
#070918 #0D122E #1B245E #29368E #3648BD

Accessibility & contrast

On white

14.38
#1B245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B245E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B245E#FFFFFF#000000##FFFFFF
##1B245E1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b245e;
/* rgb */ color: rgb(27, 36, 94);
/* oklch */ color: oklch(29.1% 0.103 271.7);
Tailwind
colors: {
  custom: {
    50: '#615e8c',
    500: '#1b245e',
    950: '#000000',
  },
}
SCSS
$custom: #1b245e;
$custom-light: #615e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b245e",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 231.94,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29131,
    "c": 0.10333,
    "h": 271.7
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#1B245E
secondary
#948941
accent
#CB49DF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1B245E

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

Preview Lab → · Contrast checker → · Palette generator →

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