#182F6E#182F6E

#182F6E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.113 H 265.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#182F6E
RGBrgb(24, 47, 110)
HSLhsl(224, 64%, 26%)
HSVhsv(224, 78%, 43%)
CMYKcmyk(78.2%, 57.3%, 0%, 56.9%)
CIE-LABlab(21.40, 15.64, -39.20)
CIE-LCHlch(21.40, 42.21, 291.75°)
OKLaboklab(32.81% -0.0091 -0.113)
OKLCHoklch(32.81% 0.113 265.4)
XYZxyz(4.2067, 3.3526, 15.1742)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F6E #6E5718
analogous
#185A6E #182F6E #2C186E
triadic
#182F6E #6E182F #2F6E18
tetradic
#182F6E #6E185A #6E5718 #186E2C
square
#182F6E #6E185A #6E5718 #186E2C
split-complementary
#182F6E #6E2C18 #5A6E18
monochromatic
#050B19 #0D1A3C #182F6E #2344A0 #2F5AD2

Accessibility & contrast

On white

12.57
#182F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F6E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F6E#FFFFFF#000000##FFFFFF
##182F6E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182f6e;
/* rgb */ color: rgb(24, 47, 110);
/* oklch */ color: oklch(32.8% 0.113 265.4);
Tailwind
colors: {
  custom: {
    50: '#636798',
    500: '#182f6e',
    950: '#000000',
  },
}
SCSS
$custom: #182f6e;
$custom-light: #636798;
$custom-dark: #000000;
JSON
{
  "hex": "#182f6e",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 223.953,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32811,
    "c": 0.11333,
    "h": 265.4
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#182F6E
secondary
#A4883E
accent
#BB41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #182F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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