#123161#123161

#123161 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.093 H 259.1°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#123161
RGBrgb(18, 49, 97)
HSLhsl(216, 69%, 23%)
HSVhsv(216, 81%, 38%)
CMYKcmyk(81.4%, 49.5%, 0%, 62%)
CIE-LABlab(20.78, 7.88, -31.77)
CIE-LCHlch(20.78, 32.73, 283.93°)
OKLaboklab(31.95% -0.0176 -0.0911)
OKLCHoklch(31.95% 0.093 259.1)
XYZxyz(3.5046, 3.1879, 11.7376)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123161 #614212
analogous
#125861 #123161 #1B1261
triadic
#123161 #611231 #316112
tetradic
#123161 #611258 #614212 #12611B
square
#123161 #611258 #614212 #12611B
split-complementary
#123161 #611B12 #586112
monochromatic
#050D1A #08172D #123161 #1C4B95 #2565C8

Accessibility & contrast

On white

12.82
#123161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123161
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123161#FFFFFF#000000##FFFFFF
##1231611.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173663
Deuteranopia (green-blind)
#052F60
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123161;
/* rgb */ color: rgb(18, 49, 97);
/* oklch */ color: oklch(32.0% 0.093 259.1);
Tailwind
colors: {
  custom: {
    50: '#5d688e',
    500: '#123161',
    950: '#000000',
  },
}
SCSS
$custom: #123161;
$custom-light: #5d688e;
$custom-dark: #000000;
JSON
{
  "hex": "#123161",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 216.456,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31951,
    "c": 0.09284,
    "h": 259.1
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#123161
secondary
#997236
accent
#A73CEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123161

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

Preview Lab → · Contrast checker → · Palette generator →

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