#1B2F65#1B2F65

#1B2F65 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.099 H 265.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#1B2F65
RGBrgb(27, 47, 101)
HSLhsl(224, 58%, 25%)
HSVhsv(224, 73%, 40%)
CMYKcmyk(73.3%, 53.5%, 0%, 60.4%)
CIE-LABlab(20.85, 12.39, -34.26)
CIE-LCHlch(20.85, 36.43, 289.89°)
OKLaboklab(32.21% -0.0072 -0.0983)
OKLCHoklch(32.21% 0.099 265.8)
XYZxyz(3.8167, 3.2052, 12.7269)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F65 #65511B
analogous
#1B5465 #1B2F65 #2C1B65
triadic
#1B2F65 #651B2F #2F651B
tetradic
#1B2F65 #651B54 #65511B #1B652C
square
#1B2F65 #651B54 #65511B #1B652C
split-complementary
#1B2F65 #652C1B #54651B
monochromatic
#060B18 #0E1935 #1B2F65 #284595 #355CC6

Accessibility & contrast

On white

12.80
#1B2F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2F65
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F65#FFFFFF#000000##FFFFFF
##1B2F651.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3667
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2f65;
/* rgb */ color: rgb(27, 47, 101);
/* oklch */ color: oklch(32.2% 0.099 265.8);
Tailwind
colors: {
  custom: {
    50: '#626791',
    500: '#1b2f65',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f65;
$custom-light: #626791;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f65",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 223.784,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32207,
    "c": 0.09861,
    "h": 265.8
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#1B2F65
secondary
#9A8241
accent
#B747E1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B2F65

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

Preview Lab → · Contrast checker → · Palette generator →

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