#123261#123261

#123261 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.092 H 258.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#123261
RGBrgb(18, 50, 97)
HSLhsl(216, 69%, 23%)
HSVhsv(216, 81%, 38%)
CMYKcmyk(81.4%, 48.5%, 0%, 62%)
CIE-LABlab(21.10, 7.16, -31.25)
CIE-LCHlch(21.10, 32.06, 282.90°)
OKLaboklab(32.2% -0.0186 -0.0896)
OKLCHoklch(32.2% 0.092 258.3)
XYZxyz(3.5469, 3.2725, 11.7517)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123261 #614112
analogous
#125A61 #123261 #191261
triadic
#123261 #611232 #326112
tetradic
#123261 #61125A #614112 #126119
square
#123261 #61125A #614112 #126119
split-complementary
#123261 #611912 #5A6112
monochromatic
#050D1A #08172D #123261 #1C4D95 #2567C8

Accessibility & contrast

On white

12.69
#123261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123261
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123261#FFFFFF#000000##FFFFFF
##1232611.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193763
Deuteranopia (green-blind)
#082F60
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123261;
/* rgb */ color: rgb(18, 50, 97);
/* oklch */ color: oklch(32.2% 0.092 258.3);
Tailwind
colors: {
  custom: {
    50: '#5d698e',
    500: '#123261',
    950: '#000000',
  },
}
SCSS
$custom: #123261;
$custom-light: #5d698e;
$custom-dark: #000000;
JSON
{
  "hex": "#123261",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 215.696,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32199,
    "c": 0.09151,
    "h": 258.3
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#123261
secondary
#997136
accent
#A53CEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123261

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

Preview Lab → · Contrast checker → · Palette generator →

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