#12368D#12368D

#12368D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.150 H 263.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#12368D
RGBrgb(18, 54, 141)
HSLhsl(222, 77%, 31%)
HSVhsv(222, 87%, 55%)
CMYKcmyk(87.2%, 61.7%, 0%, 44.7%)
CIE-LABlab(25.83, 22.84, -51.58)
CIE-LCHlch(25.83, 56.41, 293.89°)
OKLaboklab(36.9% -0.0167 -0.1493)
OKLCHoklch(36.9% 0.15 263.6)
XYZxyz(6.3746, 4.6892, 25.7633)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12368D #8D6912
analogous
#12738D #12368D #2B128D
triadic
#12368D #8D1236 #368D12
tetradic
#12368D #8D1273 #8D6912 #128D2B
square
#12368D #8D1273 #8D6912 #128D2B
split-complementary
#12368D #8D2B12 #738D12
monochromatic
#040C20 #0B2157 #12368D #194BC3 #3468E5

Accessibility & contrast

On white

10.84
#12368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#12368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12368D
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12368D#FFFFFF#000000##FFFFFF
##12368D1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12368d;
/* rgb */ color: rgb(18, 54, 141);
/* oklch */ color: oklch(36.9% 0.150 263.6);
Tailwind
colors: {
  custom: {
    50: '#696caf',
    500: '#12368d',
    950: '#000000',
  },
}
SCSS
$custom: #12368d;
$custom-light: #696caf;
$custom-dark: #000000;
JSON
{
  "hex": "#12368d",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 222.439,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36899,
    "c": 0.15022,
    "h": 263.6
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#12368D
secondary
#C19A39
accent
#BC34F4
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #12368D

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

Preview Lab → · Contrast checker → · Palette generator →

#12368D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva