#123965#123965

#123965 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.3% C 0.089 H 254.0°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#123965
RGBrgb(18, 57, 101)
HSLhsl(212, 70%, 23%)
HSVhsv(212, 82%, 40%)
CMYKcmyk(82.2%, 43.6%, 0%, 60.4%)
CIE-LABlab(23.65, 3.88, -29.78)
CIE-LCHlch(23.65, 30.03, 277.43°)
OKLaboklab(34.26% -0.0244 -0.0851)
OKLCHoklch(34.26% 0.089 254)
XYZxyz(4.0607, 3.9940, 12.8663)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123965 #653E12
analogous
#126265 #123965 #141265
triadic
#123965 #651239 #396512
tetradic
#123965 #651262 #653E12 #126514
square
#123965 #651262 #653E12 #126514
split-complementary
#123965 #651412 #626512
monochromatic
#050F1A #091C31 #123965 #1B5699 #2574CD

Accessibility & contrast

On white

11.67
#123965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#123965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123965
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123965#FFFFFF#000000##FFFFFF
##1239651.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243C67
Deuteranopia (green-blind)
#163564
Tritanopia (blue-blind)
#00434A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123965;
/* rgb */ color: rgb(18, 57, 101);
/* oklch */ color: oklch(34.3% 0.089 254.0);
Tailwind
colors: {
  custom: {
    50: '#5e6e91',
    500: '#123965',
    950: '#000000',
  },
}
SCSS
$custom: #123965;
$custom-light: #5e6e91;
$custom-dark: #000000;
JSON
{
  "hex": "#123965",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 101
  },
  "hsl": {
    "h": 211.807,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.08856,
    "h": 254
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#123965
secondary
#9D6C36
accent
#993BED
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070D
muted
#797A7D

Preview Lab

Preview with #123965

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

Preview Lab → · Contrast checker → · Palette generator →

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