#1B247B#1B247B

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

Color values

HEX#1B247B
RGBrgb(27, 36, 123)
HSLhsl(234, 64%, 29%)
HSVhsv(234, 78%, 48%)
CMYKcmyk(78%, 70.7%, 0%, 51.8%)
CIE-LABlab(19.74, 28.91, -50.25)
CIE-LCHlch(19.74, 57.98, 299.92°)
OKLaboklab(31.99% 0.0016 -0.1454)
OKLCHoklch(31.99% 0.145 270.6)
XYZxyz(4.6568, 2.9243, 19.0541)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B247B #7B721B
analogous
#1B547B #1B247B #421B7B
triadic
#1B247B #7B1B24 #247B1B
tetradic
#1B247B #7B1B54 #7B721B #1B7B42
square
#1B247B #7B1B54 #7B721B #1B7B42
split-complementary
#1B247B #7B421B #547B1B
monochromatic
#060719 #101549 #1B247B #2633AD #3C4AD4

Accessibility & contrast

On white

13.25
#1B247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B247B
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B247B#FFFFFF#000000##FFFFFF
##1B247B1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b247b;
/* rgb */ color: rgb(27, 36, 123);
/* oklch */ color: oklch(32.0% 0.145 270.6);
Tailwind
colors: {
  custom: {
    50: '#685fa2',
    500: '#1b247b',
    950: '#000000',
  },
}
SCSS
$custom: #1b247b;
$custom-light: #685fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b247b",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 234.375,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31986,
    "c": 0.14542,
    "h": 270.6
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#1B247B
secondary
#AFA543
accent
#D741E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B247B

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

Preview Lab → · Contrast checker → · Palette generator →

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