#12368F#12368F

#12368F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.153 H 263.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#12368F
RGBrgb(18, 54, 143)
HSLhsl(223, 78%, 32%)
HSVhsv(223, 87%, 56%)
CMYKcmyk(87.4%, 62.2%, 0%, 43.9%)
CIE-LABlab(26.01, 23.66, -52.53)
CIE-LCHlch(26.01, 57.61, 294.25°)
OKLaboklab(37.09% -0.0167 -0.1521)
OKLCHoklch(37.09% 0.153 263.7)
XYZxyz(6.5248, 4.7493, 26.5541)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12368F #8F6B12
analogous
#12758F #12368F #2D128F
triadic
#12368F #8F1236 #368F12
tetradic
#12368F #8F1275 #8F6B12 #128F2D
square
#12368F #8F1275 #8F6B12 #128F2D
split-complementary
#12368F #8F2D12 #758F12
monochromatic
#040D22 #0B2159 #12368F #194BC5 #3668E6

Accessibility & contrast

On white

10.77
#12368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#12368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12368F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12368F#FFFFFF#000000##FFFFFF
##12368F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12368f;
/* rgb */ color: rgb(18, 54, 143);
/* oklch */ color: oklch(37.1% 0.153 263.7);
Tailwind
colors: {
  custom: {
    50: '#6a6cb1',
    500: '#12368f',
    950: '#000000',
  },
}
SCSS
$custom: #12368f;
$custom-light: #6a6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#12368f",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 222.72,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37087,
    "c": 0.15297,
    "h": 263.7
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#12368F
secondary
#C39C3A
accent
#BD34F4
background
#F6F6FB
surface
#ECEBF6
border
#C7C6D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #12368F

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

Preview Lab → · Contrast checker → · Palette generator →

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