#1B2A6D#1B2A6D

#1B2A6D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.118 H 269.0°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1B2A6D
RGBrgb(27, 42, 109)
HSLhsl(229, 60%, 27%)
HSVhsv(229, 75%, 43%)
CMYKcmyk(75.2%, 61.5%, 0%, 57.3%)
CIE-LABlab(20.01, 19.25, -40.81)
CIE-LCHlch(20.01, 45.12, 295.25°)
OKLaboklab(31.78% -0.002 -0.1177)
OKLCHoklch(31.78% 0.118 269)
XYZxyz(4.0393, 2.9927, 14.8298)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A6D #6D5E1B
analogous
#1B536D #1B2A6D #351B6D
triadic
#1B2A6D #6D1B2A #2A6D1B
tetradic
#1B2A6D #6D1B53 #6D5E1B #1B6D35
square
#1B2A6D #6D1B53 #6D5E1B #1B6D35
split-complementary
#1B2A6D #6D351B #536D1B
monochromatic
#060919 #0F173C #1B2A6D #273D9E #3551CD

Accessibility & contrast

On white

13.14
#1B2A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2A6D
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A6D#FFFFFF#000000##FFFFFF
##1B2A6D1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2a6d;
/* rgb */ color: rgb(27, 42, 109);
/* oklch */ color: oklch(31.8% 0.118 269.0);
Tailwind
colors: {
  custom: {
    50: '#646397',
    500: '#1b2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a6d;
$custom-light: #646397;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a6d",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 229.024,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31783,
    "c": 0.11771,
    "h": 269
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#1B2A6D
secondary
#A29042
accent
#C644E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1B2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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