#1B2F64#1B2F64

#1B2F64 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.097 H 265.7°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1B2F64
RGBrgb(27, 47, 100)
HSLhsl(224, 57%, 25%)
HSVhsv(224, 73%, 39%)
CMYKcmyk(73%, 53%, 0%, 60.8%)
CIE-LABlab(20.77, 11.98, -33.72)
CIE-LCHlch(20.77, 35.79, 289.56°)
OKLaboklab(32.13% -0.0074 -0.0968)
OKLCHoklch(32.13% 0.097 265.7)
XYZxyz(3.7680, 3.1858, 12.4705)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F64 #64501B
analogous
#1B5364 #1B2F64 #2C1B64
triadic
#1B2F64 #641B2F #2F641B
tetradic
#1B2F64 #641B53 #64501B #1B642C
square
#1B2F64 #641B53 #64501B #1B642C
split-complementary
#1B2F64 #642C1B #53641B
monochromatic
#070B18 #0E1834 #1B2F64 #284694 #355CC4

Accessibility & contrast

On white

12.83
#1B2F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1B2F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F64
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F64#FFFFFF#000000##FFFFFF
##1B2F641.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113666
Deuteranopia (green-blind)
#002F63
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2f64;
/* rgb */ color: rgb(27, 47, 100);
/* oklch */ color: oklch(32.1% 0.097 265.7);
Tailwind
colors: {
  custom: {
    50: '#616790',
    500: '#1b2f64',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f64;
$custom-light: #616790;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f64",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 100
  },
  "hsl": {
    "h": 223.562,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32126,
    "c": 0.09706,
    "h": 265.7
  },
  "luminance": 0.03186
}

Semantic roles & 50–950 ramp

primary
#1B2F64
secondary
#998141
accent
#B747E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1B2F64

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

Preview Lab → · Contrast checker → · Palette generator →

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