#1B2E5F#1B2E5F

#1B2E5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.091 H 265.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1B2E5F
RGBrgb(27, 46, 95)
HSLhsl(223, 56%, 24%)
HSVhsv(223, 72%, 37%)
CMYKcmyk(71.6%, 51.6%, 0%, 62.7%)
CIE-LABlab(20.10, 10.66, -31.54)
CIE-LCHlch(20.10, 33.29, 288.68°)
OKLaboklab(31.49% -0.007 -0.0903)
OKLCHoklch(31.49% 0.091 265.5)
XYZxyz(3.4938, 3.0129, 11.2217)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E5F #5F4C1B
analogous
#1B505F #1B2E5F #2A1B5F
triadic
#1B2E5F #5F1B2E #2E5F1B
tetradic
#1B2E5F #5F1B50 #5F4C1B #1B5F2A
square
#1B2E5F #5F1B50 #5F4C1B #1B5F2A
split-complementary
#1B2E5F #5F2A1B #505F1B
monochromatic
#070C18 #0D172F #1B2E5F #29458F #365CBE

Accessibility & contrast

On white

13.10
#1B2E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B2E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E5F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E5F#FFFFFF#000000##FFFFFF
##1B2E5F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143461
Deuteranopia (green-blind)
#052E5E
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2e5f;
/* rgb */ color: rgb(27, 46, 95);
/* oklch */ color: oklch(31.5% 0.091 265.5);
Tailwind
colors: {
  custom: {
    50: '#60668d',
    500: '#1b2e5f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e5f;
$custom-light: #60668d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e5f",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 223.235,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31492,
    "c": 0.09062,
    "h": 265.5
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#1B2E5F
secondary
#957D41
accent
#B549DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1B2E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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