#123961#123961

#123961 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.0% C 0.083 H 252.1°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#123961
RGBrgb(18, 57, 97)
HSLhsl(210, 69%, 23%)
HSVhsv(210, 81%, 38%)
CMYKcmyk(81.4%, 41.2%, 0%, 62%)
CIE-LABlab(23.40, 2.19, -27.59)
CIE-LCHlch(23.40, 27.67, 274.54°)
OKLaboklab(33.98% -0.0254 -0.0787)
OKLCHoklch(33.98% 0.083 252.1)
XYZxyz(3.8694, 3.9175, 11.8592)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123961 #613A12
analogous
#126061 #123961 #131261
triadic
#123961 #611239 #396112
tetradic
#123961 #611260 #613A12 #126113
square
#123961 #611260 #613A12 #126113
split-complementary
#123961 #611312 #606112
monochromatic
#050F1A #081B2D #123961 #1C5795 #2576C8

Accessibility & contrast

On white

11.77
#123961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#123961 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123961
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123961#FFFFFF#000000##FFFFFF
##1239611.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263C63
Deuteranopia (green-blind)
#1A3460
Tritanopia (blue-blind)
#004248
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123961;
/* rgb */ color: rgb(18, 57, 97);
/* oklch */ color: oklch(34.0% 0.083 252.1);
Tailwind
colors: {
  custom: {
    50: '#5d6f8e',
    500: '#123961',
    950: '#000000',
  },
}
SCSS
$custom: #123961;
$custom-light: #5d6f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#123961",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 97
  },
  "hsl": {
    "h": 210.38,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33981,
    "c": 0.08271,
    "h": 252.1
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#123961
secondary
#996836
accent
#953CEC
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123961

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

Preview Lab → · Contrast checker → · Palette generator →

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