#1B258A#1B258A

#1B258A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.164 H 269.8°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1B258A
RGBrgb(27, 37, 138)
HSLhsl(235, 67%, 32%)
HSVhsv(235, 80%, 54%)
CMYKcmyk(80.4%, 73.2%, 0%, 45.9%)
CIE-LABlab(21.54, 33.87, -56.74)
CIE-LCHlch(21.54, 66.08, 300.84°)
OKLaboklab(33.76% -0.0007 -0.1643)
OKLCHoklch(33.76% 0.164 269.8)
XYZxyz(5.6994, 3.3905, 24.3939)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B258A #8A801B
analogous
#1B5C8A #1B258A #491B8A
triadic
#1B258A #8A1B25 #258A1B
tetradic
#1B258A #8A1B5C #8A801B #1B8A49
square
#1B258A #8A1B5C #8A801B #1B8A49
split-complementary
#1B258A #8A491B #5C8A1B
monochromatic
#070A24 #111757 #1B258A #2533BD #4552DB

Accessibility & contrast

On white

12.51
#1B258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B258A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B258A#FFFFFF#000000##FFFFFF
##1B258A1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b258a;
/* rgb */ color: rgb(27, 37, 138);
/* oklch */ color: oklch(33.8% 0.164 269.8);
Tailwind
colors: {
  custom: {
    50: '#6c60ad',
    500: '#1b258a',
    950: '#000000',
  },
}
SCSS
$custom: #1b258a;
$custom-light: #6c60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b258a",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 234.595,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33762,
    "c": 0.16433,
    "h": 269.8
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#1B258A
secondary
#BCB145
accent
#DB3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B258A

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

Preview Lab → · Contrast checker → · Palette generator →

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