#182B6E#182B6E

#182B6E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.119 H 267.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#182B6E
RGBrgb(24, 43, 110)
HSLhsl(227, 64%, 26%)
HSVhsv(227, 78%, 43%)
CMYKcmyk(78.2%, 60.9%, 0%, 56.9%)
CIE-LABlab(20.23, 18.52, -41.11)
CIE-LCHlch(20.23, 45.09, 294.26°)
OKLaboklab(31.93% -0.0058 -0.1186)
OKLCHoklch(31.93% 0.119 267.2)
XYZxyz(4.0541, 3.0473, 15.1234)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B6E #6E5B18
analogous
#18566E #182B6E #30186E
triadic
#182B6E #6E182B #2B6E18
tetradic
#182B6E #6E1856 #6E5B18 #186E30
square
#182B6E #6E1856 #6E5B18 #186E30
split-complementary
#182B6E #6E3018 #566E18
monochromatic
#050A19 #0D173C #182B6E #233FA0 #2F53D2

Accessibility & contrast

On white

13.05
#182B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#182B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B6E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B6E#FFFFFF#000000##FFFFFF
##182B6E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182b6e;
/* rgb */ color: rgb(24, 43, 110);
/* oklch */ color: oklch(31.9% 0.119 267.2);
Tailwind
colors: {
  custom: {
    50: '#636398',
    500: '#182b6e',
    950: '#000000',
  },
}
SCSS
$custom: #182b6e;
$custom-light: #636398;
$custom-dark: #000000;
JSON
{
  "hex": "#182b6e",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 226.744,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.11876,
    "h": 267.2
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#182B6E
secondary
#A48D3E
accent
#C241E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182B6E

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

Preview Lab → · Contrast checker → · Palette generator →

#182B6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva