#12243F#12243F

#12243F is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.0% C 0.056 H 258.3°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#12243F
RGBrgb(18, 36, 63)
HSLhsl(216, 56%, 16%)
HSVhsv(216, 71%, 25%)
CMYKcmyk(71.4%, 42.9%, 0%, 75.3%)
CIE-LABlab(14.11, 2.92, -19.44)
CIE-LCHlch(14.11, 19.66, 278.54°)
OKLaboklab(26.04% -0.0114 -0.0552)
OKLCHoklch(26.04% 0.056 258.3)
XYZxyz(1.7772, 1.7491, 4.9456)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12243F #3F2D12
analogous
#123A3F #12243F #16123F
triadic
#12243F #3F1224 #243F12
tetradic
#12243F #3F123A #3F2D12 #123F16
square
#12243F #3F123A #3F2D12 #123F16
split-complementary
#12243F #3F1612 #3A3F12
monochromatic
#070E18 #070E18 #12243F #203F6F #2D5A9E

Accessibility & contrast

On white

15.56
#12243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#12243F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12243F
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12243F#FFFFFF#000000##FFFFFF
##12243F1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182640
Deuteranopia (green-blind)
#12223E
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #12243f;
/* rgb */ color: rgb(18, 36, 63);
/* oklch */ color: oklch(26.0% 0.056 258.3);
Tailwind
colors: {
  custom: {
    50: '#555e74',
    500: '#12243f',
    950: '#000000',
  },
}
SCSS
$custom: #12243f;
$custom-light: #555e74;
$custom-dark: #000000;
JSON
{
  "hex": "#12243f",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 216,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26036,
    "c": 0.05637,
    "h": 258.3
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#12243F
secondary
#785D35
accent
#A349DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #12243F

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

Preview Lab → · Contrast checker → · Palette generator →

#12243F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva