#1B397C#1B397C

#1B397C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.120 H 263.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#1B397C
RGBrgb(27, 57, 124)
HSLhsl(221, 64%, 30%)
HSVhsv(221, 78%, 49%)
CMYKcmyk(78.2%, 54%, 0%, 51.4%)
CIE-LABlab(25.61, 14.67, -41.31)
CIE-LCHlch(25.61, 43.84, 289.55°)
OKLaboklab(36.38% -0.0136 -0.1189)
OKLCHoklch(36.38% 0.12 263.5)
XYZxyz(5.5519, 4.6139, 19.6628)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B397C #7C5E1B
analogous
#1B6A7C #1B397C #2D1B7C
triadic
#1B397C #7C1B39 #397C1B
tetradic
#1B397C #7C1B6A #7C5E1B #1B7C2D
square
#1B397C #7C1B6A #7C5E1B #1B7C2D
split-complementary
#1B397C #7C2D1B #6A7C1B
monochromatic
#050C19 #10224A #1B397C #2650AE #3D6CD5

Accessibility & contrast

On white

10.92
#1B397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B397C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B397C#FFFFFF#000000##FFFFFF
##1B397C1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B417E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b397c;
/* rgb */ color: rgb(27, 57, 124);
/* oklch */ color: oklch(36.4% 0.120 263.5);
Tailwind
colors: {
  custom: {
    50: '#676ea2',
    500: '#1b397c',
    950: '#000000',
  },
}
SCSS
$custom: #1b397c;
$custom-light: #676ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b397c",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 221.443,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.1197,
    "h": 263.5
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#1B397C
secondary
#B08E43
accent
#B441E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B397C

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

Preview Lab → · Contrast checker → · Palette generator →

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