#12113F#12113F

#12113F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.085 H 277.4°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#12113F
RGBrgb(18, 17, 63)
HSLhsl(241, 58%, 16%)
HSVhsv(241, 73%, 25%)
CMYKcmyk(71.4%, 73%, 0%, 75.3%)
CIE-LABlab(8.02, 17.44, -29.24)
CIE-LCHlch(8.02, 34.05, 300.81°)
OKLaboklab(21.43% 0.011 -0.0842)
OKLCHoklch(21.43% 0.085 277.4)
XYZxyz(1.3468, 0.8883, 4.8021)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12113F #3E3F11
analogous
#11273F #12113F #29113F
triadic
#12113F #3F1211 #113F12
tetradic
#12113F #3F1127 #3E3F11 #113F29
square
#12113F #3F1127 #3E3F11 #113F29
split-complementary
#12113F #3F2911 #273F11
monochromatic
#070718 #070718 #12113F #201E6F #2E2B9F

Accessibility & contrast

On white

17.83
#12113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#12113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12113F
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12113F#FFFFFF#000000##FFFFFF
##12113F1.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #12113f;
/* rgb */ color: rgb(18, 17, 63);
/* oklch */ color: oklch(21.4% 0.085 277.4);
Tailwind
colors: {
  custom: {
    50: '#564f74',
    500: '#12113f',
    950: '#000000',
  },
}
SCSS
$custom: #12113f;
$custom-light: #564f74;
$custom-dark: #000000;
JSON
{
  "hex": "#12113f",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 241.304,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21431,
    "c": 0.08496,
    "h": 277.4
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#12113F
secondary
#777833
accent
#E147DD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #12113F

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

Preview Lab → · Contrast checker → · Palette generator →

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