#1B248A#1B248A

#1B248A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.165 H 269.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#1B248A
RGBrgb(27, 36, 138)
HSLhsl(235, 67%, 32%)
HSVhsv(235, 80%, 54%)
CMYKcmyk(80.4%, 73.9%, 0%, 45.9%)
CIE-LABlab(21.32, 34.51, -57.11)
CIE-LCHlch(21.32, 66.73, 301.14°)
OKLaboklab(33.6% -0.0002 -0.1654)
OKLCHoklch(33.6% 0.165 269.9)
XYZxyz(5.6687, 3.3291, 24.3836)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B248A #8A811B
analogous
#1B5C8A #1B248A #491B8A
triadic
#1B248A #8A1B24 #248A1B
tetradic
#1B248A #8A1B5C #8A811B #1B8A49
square
#1B248A #8A1B5C #8A811B #1B8A49
split-complementary
#1B248A #8A491B #5C8A1B
monochromatic
#070924 #111757 #1B248A #2531BD #4551DB

Accessibility & contrast

On white

12.61
#1B248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1B248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B248A
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B248A#FFFFFF#000000##FFFFFF
##1B248A1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#002E88
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b248a;
/* rgb */ color: rgb(27, 36, 138);
/* oklch */ color: oklch(33.6% 0.165 269.9);
Tailwind
colors: {
  custom: {
    50: '#6c5fad',
    500: '#1b248a',
    950: '#000000',
  },
}
SCSS
$custom: #1b248a;
$custom-light: #6c5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b248a",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 235.135,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33598,
    "c": 0.16542,
    "h": 269.9
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#1B248A
secondary
#BCB245
accent
#DC3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B248A

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

Preview Lab → · Contrast checker → · Palette generator →

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