#1B247D#1B247D

#1B247D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.148 H 270.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1B247D
RGBrgb(27, 36, 125)
HSLhsl(234, 64%, 30%)
HSVhsv(234, 78%, 49%)
CMYKcmyk(78.4%, 71.2%, 0%, 51%)
CIE-LABlab(19.94, 29.67, -51.19)
CIE-LCHlch(19.94, 59.17, 300.10°)
OKLaboklab(32.2% 0.0014 -0.1481)
OKLCHoklch(32.2% 0.148 270.5)
XYZxyz(4.7833, 2.9749, 19.7202)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B247D #7D741B
analogous
#1B557D #1B247D #431B7D
triadic
#1B247D #7D1B24 #247D1B
tetradic
#1B247D #7D1B55 #7D741B #1B7D43
square
#1B247D #7D1B55 #7D741B #1B7D43
split-complementary
#1B247D #7D431B #557D1B
monochromatic
#050719 #10164B #1B247D #2632AF #3D4BD5

Accessibility & contrast

On white

13.17
#1B247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B247D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B247D#FFFFFF#000000##FFFFFF
##1B247D1.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b247d;
/* rgb */ color: rgb(27, 36, 125);
/* oklch */ color: oklch(32.2% 0.148 270.5);
Tailwind
colors: {
  custom: {
    50: '#695fa4',
    500: '#1b247d',
    950: '#000000',
  },
}
SCSS
$custom: #1b247d;
$custom-light: #695fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b247d",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 234.49,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32197,
    "c": 0.14815,
    "h": 270.5
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#1B247D
secondary
#B1A743
accent
#D840E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B247D

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

Preview Lab → · Contrast checker → · Palette generator →

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