#1B295D#1B295D

#1B295D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.095 H 268.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1B295D
RGBrgb(27, 41, 93)
HSLhsl(227, 55%, 24%)
HSVhsv(227, 71%, 36%)
CMYKcmyk(71%, 55.9%, 0%, 63.5%)
CIE-LABlab(18.40, 13.49, -32.94)
CIE-LCHlch(18.40, 35.60, 292.27°)
OKLaboklab(30.16% -0.002 -0.0946)
OKLCHoklch(30.16% 0.095 268.8)
XYZxyz(3.2200, 2.6089, 10.6877)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B295D #5D4F1B
analogous
#1B4A5D #1B295D #2E1B5D
triadic
#1B295D #5D1B29 #295D1B
tetradic
#1B295D #5D1B4A #5D4F1B #1B5D2E
square
#1B295D #5D1B4A #5D4F1B #1B5D2E
split-complementary
#1B295D #5D2E1B #4A5D1B
monochromatic
#070A18 #0D142E #1B295D #293E8C #3753BC

Accessibility & contrast

On white

13.80
#1B295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B295D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B295D#FFFFFF#000000##FFFFFF
##1B295D1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b295d;
/* rgb */ color: rgb(27, 41, 93);
/* oklch */ color: oklch(30.2% 0.095 268.8);
Tailwind
colors: {
  custom: {
    50: '#60628b',
    500: '#1b295d',
    950: '#000000',
  },
}
SCSS
$custom: #1b295d;
$custom-light: #60628b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b295d",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 227.273,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30159,
    "c": 0.09459,
    "h": 268.8
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#1B295D
secondary
#938141
accent
#BF49DE
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1B295D

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

Preview Lab → · Contrast checker → · Palette generator →

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