#123063#123063

#123063 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.097 H 260.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#123063
RGBrgb(18, 48, 99)
HSLhsl(218, 69%, 23%)
HSVhsv(218, 82%, 39%)
CMYKcmyk(81.8%, 51.5%, 0%, 61.2%)
CIE-LABlab(20.61, 9.47, -33.36)
CIE-LCHlch(20.61, 34.68, 285.84°)
OKLaboklab(31.86% -0.0163 -0.0958)
OKLCHoklch(31.86% 0.097 260.3)
XYZxyz(3.5577, 3.1429, 12.2211)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123063 #634512
analogous
#125863 #123063 #1C1263
triadic
#123063 #631230 #306312
tetradic
#123063 #631258 #634512 #12631C
square
#123063 #631258 #634512 #12631C
split-complementary
#123063 #631C12 #586312
monochromatic
#050D1A #09172F #123063 #1B4997 #2562CB

Accessibility & contrast

On white

12.89
#123063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#123063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123063
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123063#FFFFFF#000000##FFFFFF
##1230631.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133665
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123063;
/* rgb */ color: rgb(18, 48, 99);
/* oklch */ color: oklch(31.9% 0.097 260.3);
Tailwind
colors: {
  custom: {
    50: '#5e6790',
    500: '#123063',
    950: '#000000',
  },
}
SCSS
$custom: #123063;
$custom-light: #5e6790;
$custom-dark: #000000;
JSON
{
  "hex": "#123063",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 99
  },
  "hsl": {
    "h": 217.778,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31864,
    "c": 0.09723,
    "h": 260.3
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#123063
secondary
#9B7636
accent
#AB3CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123063

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

Preview Lab → · Contrast checker → · Palette generator →

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