#123068#123068

#123068 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.105 H 261.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#123068
RGBrgb(18, 48, 104)
HSLhsl(219, 70%, 24%)
HSVhsv(219, 83%, 41%)
CMYKcmyk(82.7%, 53.8%, 0%, 59.2%)
CIE-LABlab(20.99, 11.61, -36.01)
CIE-LCHlch(20.99, 37.83, 287.87°)
OKLaboklab(32.28% -0.0156 -0.1036)
OKLCHoklch(32.28% 0.105 261.5)
XYZxyz(3.8042, 3.2415, 13.5192)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123068 #684A12
analogous
#125B68 #123068 #1F1268
triadic
#123068 #681230 #306812
tetradic
#123068 #68125B #684A12 #12681F
square
#123068 #68125B #684A12 #12681F
split-complementary
#123068 #681F12 #5B6812
monochromatic
#050C1A #091834 #123068 #1B489C #2460D0

Accessibility & contrast

On white

12.74
#123068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#123068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123068
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123068#FFFFFF#000000##FFFFFF
##1230681.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #123068;
/* rgb */ color: rgb(18, 48, 104);
/* oklch */ color: oklch(32.3% 0.105 261.5);
Tailwind
colors: {
  custom: {
    50: '#5f6794',
    500: '#123068',
    950: '#000000',
  },
}
SCSS
$custom: #123068;
$custom-light: #5f6794;
$custom-dark: #000000;
JSON
{
  "hex": "#123068",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 104
  },
  "hsl": {
    "h": 219.07,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32275,
    "c": 0.1048,
    "h": 261.5
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#123068
secondary
#A07B36
accent
#AF3BED
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #123068

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

Preview Lab → · Contrast checker → · Palette generator →

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