#123364#123364

#123364 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.095 H 258.5°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#123364
RGBrgb(18, 51, 100)
HSLhsl(216, 69%, 23%)
HSVhsv(216, 82%, 39%)
CMYKcmyk(82%, 49%, 0%, 60.8%)
CIE-LABlab(21.64, 7.72, -32.35)
CIE-LCHlch(21.64, 33.26, 283.42°)
OKLaboklab(32.68% -0.0189 -0.0928)
OKLCHoklch(32.68% 0.095 258.5)
XYZxyz(3.7327, 3.4159, 12.5167)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123364 #644312
analogous
#125C64 #123364 #1A1264
triadic
#123364 #641233 #336412
tetradic
#123364 #64125C #644312 #12641A
square
#123364 #64125C #644312 #12641A
split-complementary
#123364 #641A12 #5C6412
monochromatic
#050D1A #091930 #123364 #1B4D98 #2568CC

Accessibility & contrast

On white

12.48
#123364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#123364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123364
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123364#FFFFFF#000000##FFFFFF
##1233641.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193866
Deuteranopia (green-blind)
#053063
Tritanopia (blue-blind)
#003F46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123364;
/* rgb */ color: rgb(18, 51, 100);
/* oklch */ color: oklch(32.7% 0.095 258.5);
Tailwind
colors: {
  custom: {
    50: '#5e6a90',
    500: '#123364',
    950: '#000000',
  },
}
SCSS
$custom: #123364;
$custom-light: #5e6a90;
$custom-dark: #000000;
JSON
{
  "hex": "#123364",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 100
  },
  "hsl": {
    "h": 215.854,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3268,
    "c": 0.09474,
    "h": 258.5
  },
  "luminance": 0.03416
}

Semantic roles & 50–950 ramp

primary
#123364
secondary
#9C7336
accent
#A53BEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123364

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

Preview Lab → · Contrast checker → · Palette generator →

#123364 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva