#1B2575#1B2575

#1B2575 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.136 H 270.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#1B2575
RGBrgb(27, 37, 117)
HSLhsl(233, 63%, 28%)
HSVhsv(233, 77%, 46%)
CMYKcmyk(76.9%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.39, 25.93, -46.98)
CIE-LCHlch(19.39, 53.67, 298.90°)
OKLaboklab(31.55% 0.0015 -0.1358)
OKLCHoklch(31.55% 0.136 270.6)
XYZxyz(4.3234, 2.8400, 17.1465)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2575 #756B1B
analogous
#1B5275 #1B2575 #3E1B75
triadic
#1B2575 #751B25 #25751B
tetradic
#1B2575 #751B52 #756B1B #1B753E
square
#1B2575 #751B52 #756B1B #1B753E
split-complementary
#1B2575 #753E1B #52751B
monochromatic
#060819 #101543 #1B2575 #2635A7 #394AD1

Accessibility & contrast

On white

13.39
#1B2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1B2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2575
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2575#FFFFFF#000000##FFFFFF
##1B25751.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2575;
/* rgb */ color: rgb(27, 37, 117);
/* oklch */ color: oklch(31.6% 0.136 270.6);
Tailwind
colors: {
  custom: {
    50: '#675f9e',
    500: '#1b2575',
    950: '#000000',
  },
}
SCSS
$custom: #1b2575;
$custom-light: #675f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2575",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 233.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31551,
    "c": 0.13586,
    "h": 270.6
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#1B2575
secondary
#A99E42
accent
#D342E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2575

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

Preview Lab → · Contrast checker → · Palette generator →

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