#1B28B3#1B28B3

#1B28B3 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.212 H 268.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1B28B3
RGBrgb(27, 40, 179)
HSLhsl(235, 74%, 40%)
HSVhsv(235, 85%, 70%)
CMYKcmyk(84.9%, 77.7%, 0%, 29.8%)
CIE-LABlab(26.75, 46.52, -73.16)
CIE-LCHlch(26.75, 86.70, 302.45°)
OKLaboklab(38.81% -0.0075 -0.212)
OKLCHoklch(38.81% 0.212 268)
XYZxyz(9.3447, 5.0041, 43.1125)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B28B3 #B3A61B
analogous
#1B74B3 #1B28B3 #5A1BB3
triadic
#1B28B3 #B31B28 #28B31B
tetradic
#1B28B3 #B31B74 #B3A61B #1BB35A
square
#1B28B3 #B31B74 #B3A61B #1BB35A
split-complementary
#1B28B3 #B35A1B #74B31B
monochromatic
#0B1049 #131C7E #1B28B3 #2C3BDF #616DE7

Accessibility & contrast

On white

10.49
#1B28B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1B28B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B28B3
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B28B3#FFFFFF#000000##FFFFFF
##1B28B31.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b28b3;
/* rgb */ color: rgb(27, 40, 179);
/* oklch */ color: oklch(38.8% 0.212 268.0);
Tailwind
colors: {
  custom: {
    50: '#7764cb',
    500: '#1b28b3',
    950: '#000000',
  },
}
SCSS
$custom: #1b28b3;
$custom-light: #7764cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b28b3",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 234.868,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38811,
    "c": 0.21216,
    "h": 268
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#1B28B3
secondary
#CCC25E
accent
#E137F0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #1B28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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