#1B246D#1B246D

#1B246D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.126 H 271.3°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#1B246D
RGBrgb(27, 36, 109)
HSLhsl(233, 60%, 27%)
HSVhsv(233, 75%, 43%)
CMYKcmyk(75.2%, 67%, 0%, 57.3%)
CIE-LABlab(18.36, 23.51, -43.51)
CIE-LCHlch(18.36, 49.45, 298.38°)
OKLaboklab(30.56% 0.0028 -0.1257)
OKLCHoklch(30.56% 0.126 271.3)
XYZxyz(3.8423, 2.5985, 14.7641)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B246D #6D641B
analogous
#1B4D6D #1B246D #3B1B6D
triadic
#1B246D #6D1B24 #246D1B
tetradic
#1B246D #6D1B4D #6D641B #1B6D3B
square
#1B246D #6D1B4D #6D641B #1B6D3B
split-complementary
#1B246D #6D3B1B #4D6D1B
monochromatic
#060819 #0F143C #1B246D #27349E #3546CD

Accessibility & contrast

On white

13.82
#1B246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1B246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B246D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B246D#FFFFFF#000000##FFFFFF
##1B246D1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b246d;
/* rgb */ color: rgb(27, 36, 109);
/* oklch */ color: oklch(30.6% 0.126 271.3);
Tailwind
colors: {
  custom: {
    50: '#655e98',
    500: '#1b246d',
    950: '#000000',
  },
}
SCSS
$custom: #1b246d;
$custom-light: #655e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1b246d",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 233.415,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30558,
    "c": 0.12572,
    "h": 271.3
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#1B246D
secondary
#A29742
accent
#D244E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1B246D

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

Preview Lab → · Contrast checker → · Palette generator →

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