#123061#123061

#123061 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.094 H 259.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#123061
RGBrgb(18, 48, 97)
HSLhsl(217, 69%, 23%)
HSVhsv(217, 81%, 38%)
CMYKcmyk(81.4%, 50.5%, 0%, 62%)
CIE-LABlab(20.46, 8.61, -32.29)
CIE-LCHlch(20.46, 33.41, 284.93°)
OKLaboklab(31.7% -0.0167 -0.0927)
OKLCHoklch(31.7% 0.094 259.8)
XYZxyz(3.4633, 3.1052, 11.7238)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123061 #614312
analogous
#125861 #123061 #1B1261
triadic
#123061 #611230 #306112
tetradic
#123061 #611258 #614312 #12611B
square
#123061 #611258 #614312 #12611B
split-complementary
#123061 #611B12 #586112
monochromatic
#050D1A #08162D #123061 #1C4A95 #2563C8

Accessibility & contrast

On white

12.95
#123061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#123061 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123061
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123061#FFFFFF#000000##FFFFFF
##1230611.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153563
Deuteranopia (green-blind)
#012E60
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123061;
/* rgb */ color: rgb(18, 48, 97);
/* oklch */ color: oklch(31.7% 0.094 259.8);
Tailwind
colors: {
  custom: {
    50: '#5d678e',
    500: '#123061',
    950: '#000000',
  },
}
SCSS
$custom: #123061;
$custom-light: #5d678e;
$custom-dark: #000000;
JSON
{
  "hex": "#123061",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 97
  },
  "hsl": {
    "h": 217.215,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31704,
    "c": 0.09418,
    "h": 259.8
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#123061
secondary
#997336
accent
#A93CEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123061

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

Preview Lab → · Contrast checker → · Palette generator →

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