#182B8F#182B8F

#182B8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.165 H 267.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#182B8F
RGBrgb(24, 43, 143)
HSLhsl(230, 71%, 33%)
HSVhsv(230, 83%, 56%)
CMYKcmyk(83.2%, 69.9%, 0%, 43.9%)
CIE-LABlab(23.35, 31.62, -56.88)
CIE-LCHlch(23.35, 65.07, 299.07°)
OKLaboklab(35.19% -0.0068 -0.1648)
OKLCHoklch(35.19% 0.165 267.6)
XYZxyz(6.1968, 3.9044, 26.4083)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B8F #8F7C18
analogous
#18668F #182B8F #40188F
triadic
#182B8F #8F182B #2B8F18
tetradic
#182B8F #8F1866 #8F7C18 #188F40
square
#182B8F #8F1866 #8F7C18 #188F40
split-complementary
#182B8F #8F4018 #668F18
monochromatic
#060B26 #0F1B5B #182B8F #213BC3 #425BDF

Accessibility & contrast

On white

11.79
#182B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#182B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B8F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B8F#FFFFFF#000000##FFFFFF
##182B8F1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #182b8f;
/* rgb */ color: rgb(24, 43, 143);
/* oklch */ color: oklch(35.2% 0.165 267.6);
Tailwind
colors: {
  custom: {
    50: '#6c64b1',
    500: '#182b8f',
    950: '#000000',
  },
}
SCSS
$custom: #182b8f;
$custom-light: #6c64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#182b8f",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 230.42,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35188,
    "c": 0.16492,
    "h": 267.6
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#182B8F
secondary
#C0AC43
accent
#D13AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #182B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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