#123064#123064

#123064 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.099 H 260.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#123064
RGBrgb(18, 48, 100)
HSLhsl(218, 69%, 23%)
HSVhsv(218, 82%, 39%)
CMYKcmyk(82%, 52%, 0%, 60.8%)
CIE-LABlab(20.68, 9.89, -33.89)
CIE-LCHlch(20.68, 35.31, 286.27°)
OKLaboklab(31.95% -0.0162 -0.0974)
OKLCHoklch(31.95% 0.099 260.6)
XYZxyz(3.6058, 3.1622, 12.4744)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123064 #644612
analogous
#125964 #123064 #1D1264
triadic
#123064 #641230 #306412
tetradic
#123064 #641259 #644612 #12641D
square
#123064 #641259 #644612 #12641D
split-complementary
#123064 #641D12 #596412
monochromatic
#050C1A #091730 #123064 #1B4998 #2562CC

Accessibility & contrast

On white

12.86
#123064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123064
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123064#FFFFFF#000000##FFFFFF
##1230641.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123666
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123064;
/* rgb */ color: rgb(18, 48, 100);
/* oklch */ color: oklch(31.9% 0.099 260.6);
Tailwind
colors: {
  custom: {
    50: '#5e6790',
    500: '#123064',
    950: '#000000',
  },
}
SCSS
$custom: #123064;
$custom-light: #5e6790;
$custom-dark: #000000;
JSON
{
  "hex": "#123064",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 100
  },
  "hsl": {
    "h": 218.049,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31945,
    "c": 0.09875,
    "h": 260.6
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#123064
secondary
#9C7736
accent
#AC3BEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123064

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

Preview Lab → · Contrast checker → · Palette generator →

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