#1B247E#1B247E

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

Color values

HEX#1B247E
RGBrgb(27, 36, 126)
HSLhsl(235, 65%, 30%)
HSVhsv(235, 79%, 49%)
CMYKcmyk(78.6%, 71.4%, 0%, 50.6%)
CIE-LABlab(20.05, 30.05, -51.65)
CIE-LCHlch(20.05, 59.76, 300.19°)
OKLaboklab(32.3% 0.0013 -0.1495)
OKLCHoklch(32.3% 0.15 270.5)
XYZxyz(4.8475, 3.0006, 20.0583)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B247E #7E751B
analogous
#1B567E #1B247E #431B7E
triadic
#1B247E #7E1B24 #247E1B
tetradic
#1B247E #7E1B56 #7E751B #1B7E43
square
#1B247E #7E1B56 #7E751B #1B7E43
split-complementary
#1B247E #7E431B #567E1B
monochromatic
#050719 #10164C #1B247E #2632B0 #3E4CD6

Accessibility & contrast

On white

13.12
#1B247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B247E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B247E#FFFFFF#000000##FFFFFF
##1B247E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b247e;
/* rgb */ color: rgb(27, 36, 126);
/* oklch */ color: oklch(32.3% 0.150 270.5);
Tailwind
colors: {
  custom: {
    50: '#695fa4',
    500: '#1b247e',
    950: '#000000',
  },
}
SCSS
$custom: #1b247e;
$custom-light: #695fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b247e",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 234.545,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.32303,
    "c": 0.14951,
    "h": 270.5
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#1B247E
secondary
#B2A843
accent
#D840E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B247E

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

Preview Lab → · Contrast checker → · Palette generator →

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