#123165#123165

#123165 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.099 H 260.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#123165
RGBrgb(18, 49, 101)
HSLhsl(218, 70%, 23%)
HSVhsv(218, 82%, 40%)
CMYKcmyk(82.2%, 51.5%, 0%, 60.4%)
CIE-LABlab(21.07, 9.60, -33.91)
CIE-LCHlch(21.07, 35.25, 285.80°)
OKLaboklab(32.27% -0.0169 -0.0975)
OKLCHoklch(32.27% 0.099 260.2)
XYZxyz(3.6959, 3.2644, 12.7447)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123165 #654612
analogous
#125A65 #123165 #1C1265
triadic
#123165 #651231 #316512
tetradic
#123165 #65125A #654612 #12651C
square
#123165 #65125A #654612 #12651C
split-complementary
#123165 #651C12 #5A6512
monochromatic
#050D1A #091831 #123165 #1B4A99 #2563CD

Accessibility & contrast

On white

12.70
#123165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123165
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123165#FFFFFF#000000##FFFFFF
##1231651.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133767
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123165;
/* rgb */ color: rgb(18, 49, 101);
/* oklch */ color: oklch(32.3% 0.099 260.2);
Tailwind
colors: {
  custom: {
    50: '#5e6891',
    500: '#123165',
    950: '#000000',
  },
}
SCSS
$custom: #123165;
$custom-light: #5e6891;
$custom-dark: #000000;
JSON
{
  "hex": "#123165",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 101
  },
  "hsl": {
    "h": 217.59,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32269,
    "c": 0.09891,
    "h": 260.2
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#123165
secondary
#9D7636
accent
#AA3BED
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060D
muted
#797A7D

Preview Lab

Preview with #123165

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

Preview Lab → · Contrast checker → · Palette generator →

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