#1B247C#1B247C

#1B247C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.147 H 270.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1B247C
RGBrgb(27, 36, 124)
HSLhsl(234, 64%, 30%)
HSVhsv(234, 78%, 49%)
CMYKcmyk(78.2%, 71%, 0%, 51.4%)
CIE-LABlab(19.84, 29.29, -50.72)
CIE-LCHlch(19.84, 58.57, 300.01°)
OKLaboklab(32.09% 0.0015 -0.1468)
OKLCHoklch(32.09% 0.147 270.6)
XYZxyz(4.7197, 2.9495, 19.3854)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B247C #7C731B
analogous
#1B557C #1B247C #431B7C
triadic
#1B247C #7C1B24 #247C1B
tetradic
#1B247C #7C1B55 #7C731B #1B7C43
square
#1B247C #7C1B55 #7C731B #1B7C43
split-complementary
#1B247C #7C431B #557C1B
monochromatic
#050719 #10154A #1B247C #2633AE #3D4BD5

Accessibility & contrast

On white

13.21
#1B247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B247C
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B247C#FFFFFF#000000##FFFFFF
##1B247C1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b247c;
/* rgb */ color: rgb(27, 36, 124);
/* oklch */ color: oklch(32.1% 0.147 270.6);
Tailwind
colors: {
  custom: {
    50: '#695fa3',
    500: '#1b247c',
    950: '#000000',
  },
}
SCSS
$custom: #1b247c;
$custom-light: #695fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b247c",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 234.433,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32091,
    "c": 0.14679,
    "h": 270.6
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#1B247C
secondary
#B0A643
accent
#D841E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B247C

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

Preview Lab → · Contrast checker → · Palette generator →

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