#123066#123066

#123066 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.102 H 261.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#123066
RGBrgb(18, 48, 102)
HSLhsl(219, 70%, 24%)
HSVhsv(219, 82%, 40%)
CMYKcmyk(82.4%, 52.9%, 0%, 60%)
CIE-LABlab(20.83, 10.75, -34.95)
CIE-LCHlch(20.83, 36.57, 287.10°)
OKLaboklab(32.11% -0.0159 -0.1005)
OKLCHoklch(32.11% 0.102 261)
XYZxyz(3.7038, 3.2014, 12.9905)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123066 #664812
analogous
#125A66 #123066 #1E1266
triadic
#123066 #661230 #306612
tetradic
#123066 #66125A #664812 #12661E
square
#123066 #66125A #664812 #12661E
split-complementary
#123066 #661E12 #5A6612
monochromatic
#050C1A #091832 #123066 #1B489A #2461CE

Accessibility & contrast

On white

12.80
#123066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#123066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123066
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123066#FFFFFF#000000##FFFFFF
##1230661.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3668
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123066;
/* rgb */ color: rgb(18, 48, 102);
/* oklch */ color: oklch(32.1% 0.102 261.0);
Tailwind
colors: {
  custom: {
    50: '#5f6792',
    500: '#123066',
    950: '#000000',
  },
}
SCSS
$custom: #123066;
$custom-light: #5f6792;
$custom-dark: #000000;
JSON
{
  "hex": "#123066",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 102
  },
  "hsl": {
    "h": 218.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32109,
    "c": 0.10178,
    "h": 261
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#123066
secondary
#9E7936
accent
#AD3BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #123066

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

Preview Lab → · Contrast checker → · Palette generator →

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