#1B295E#1B295E

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

Color values

HEX#1B295E
RGBrgb(27, 41, 94)
HSLhsl(227, 55%, 24%)
HSVhsv(227, 71%, 37%)
CMYKcmyk(71.3%, 56.4%, 0%, 63.1%)
CIE-LABlab(18.48, 13.90, -33.48)
CIE-LCHlch(18.48, 36.25, 292.55°)
OKLaboklab(30.24% -0.0019 -0.0961)
OKLCHoklch(30.24% 0.096 268.9)
XYZxyz(3.2646, 2.6267, 10.9225)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B295E #5E501B
analogous
#1B4A5E #1B295E #2E1B5E
triadic
#1B295E #5E1B29 #295E1B
tetradic
#1B295E #5E1B4A #5E501B #1B5E2E
square
#1B295E #5E1B4A #5E501B #1B5E2E
split-complementary
#1B295E #5E2E1B #4A5E1B
monochromatic
#070A18 #0D142E #1B295E #293E8E #3652BD

Accessibility & contrast

On white

13.77
#1B295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B295E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B295E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B295E#FFFFFF#000000##FFFFFF
##1B295E1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073060
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b295e;
/* rgb */ color: rgb(27, 41, 94);
/* oklch */ color: oklch(30.2% 0.096 268.9);
Tailwind
colors: {
  custom: {
    50: '#60628c',
    500: '#1b295e',
    950: '#000000',
  },
}
SCSS
$custom: #1b295e;
$custom-light: #60628c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b295e",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 227.463,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30243,
    "c": 0.09617,
    "h": 268.9
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#1B295E
secondary
#948241
accent
#BF49DF
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1B295E

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

Preview Lab → · Contrast checker → · Palette generator →

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