#123368#123368

#123368 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.101 H 259.6°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#123368
RGBrgb(18, 51, 104)
HSLhsl(217, 70%, 24%)
HSVhsv(217, 83%, 41%)
CMYKcmyk(82.7%, 51%, 0%, 59.2%)
CIE-LABlab(21.93, 9.43, -34.49)
CIE-LCHlch(21.93, 35.75, 285.30°)
OKLaboklab(33% -0.0182 -0.0991)
OKLCHoklch(33% 0.101 259.6)
XYZxyz(3.9311, 3.4953, 13.5615)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123368 #684712
analogous
#125E68 #123368 #1C1268
triadic
#123368 #681233 #336812
tetradic
#123368 #68125E #684712 #12681C
square
#123368 #68125E #684712 #12681C
split-complementary
#123368 #681C12 #5E6812
monochromatic
#050D1A #091934 #123368 #1B4D9C #2466D0

Accessibility & contrast

On white

12.36
#123368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#123368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123368
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123368#FFFFFF#000000##FFFFFF
##1233681.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15396A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#004048
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123368;
/* rgb */ color: rgb(18, 51, 104);
/* oklch */ color: oklch(33.0% 0.101 259.6);
Tailwind
colors: {
  custom: {
    50: '#5f6a93',
    500: '#123368',
    950: '#000000',
  },
}
SCSS
$custom: #123368;
$custom-light: #5f6a93;
$custom-dark: #000000;
JSON
{
  "hex": "#123368",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 104
  },
  "hsl": {
    "h": 216.977,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32995,
    "c": 0.10076,
    "h": 259.6
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#123368
secondary
#A07736
accent
#A93BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #123368

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

Preview Lab → · Contrast checker → · Palette generator →

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