#123168#123168

#123168 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.103 H 260.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#123168
RGBrgb(18, 49, 104)
HSLhsl(218, 70%, 24%)
HSVhsv(218, 83%, 41%)
CMYKcmyk(82.7%, 52.9%, 0%, 59.2%)
CIE-LABlab(21.30, 10.88, -35.50)
CIE-LCHlch(21.30, 37.13, 287.04°)
OKLaboklab(32.51% -0.0164 -0.1021)
OKLCHoklch(32.51% 0.103 260.9)
XYZxyz(3.8456, 3.3243, 13.5330)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123168 #684912
analogous
#125C68 #123168 #1E1268
triadic
#123168 #681231 #316812
tetradic
#123168 #68125C #684912 #12681E
square
#123168 #68125C #684912 #12681E
split-complementary
#123168 #681E12 #5C6812
monochromatic
#050C1A #091834 #123168 #1B4A9C #2462D0

Accessibility & contrast

On white

12.61
#123168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#123168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123168
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123168#FFFFFF#000000##FFFFFF
##1231681.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F376A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123168;
/* rgb */ color: rgb(18, 49, 104);
/* oklch */ color: oklch(32.5% 0.103 260.9);
Tailwind
colors: {
  custom: {
    50: '#5f6894',
    500: '#123168',
    950: '#000000',
  },
}
SCSS
$custom: #123168;
$custom-light: #5f6894;
$custom-dark: #000000;
JSON
{
  "hex": "#123168",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 218.372,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.10345,
    "h": 260.9
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#123168
secondary
#A07A36
accent
#AD3BED
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #123168

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

Preview Lab → · Contrast checker → · Palette generator →

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