#123259#123259

#123259 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.6% C 0.079 H 255.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#123259
RGBrgb(18, 50, 89)
HSLhsl(213, 66%, 21%)
HSVhsv(213, 80%, 35%)
CMYKcmyk(79.8%, 43.8%, 0%, 65.1%)
CIE-LABlab(20.56, 3.74, -26.85)
CIE-LCHlch(20.56, 27.11, 277.93°)
OKLaboklab(31.6% -0.0204 -0.0767)
OKLCHoklch(31.6% 0.079 255.1)
XYZxyz(3.1926, 3.1307, 9.8853)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123259 #593912
analogous
#125559 #123259 #151259
triadic
#123259 #591232 #325912
tetradic
#123259 #591255 #593912 #125915
square
#123259 #591255 #593912 #125915
split-complementary
#123259 #591512 #555912
monochromatic
#050E19 #081526 #123259 #1C4F8C #276BBF

Accessibility & contrast

On white

12.91
#123259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#123259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123259
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123259#FFFFFF#000000##FFFFFF
##1232591.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F355B
Deuteranopia (green-blind)
#142F58
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123259;
/* rgb */ color: rgb(18, 50, 89);
/* oklch */ color: oklch(31.6% 0.079 255.1);
Tailwind
colors: {
  custom: {
    50: '#5b6988',
    500: '#123259',
    950: '#000000',
  },
}
SCSS
$custom: #123259;
$custom-light: #5b6988;
$custom-dark: #000000;
JSON
{
  "hex": "#123259",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 89
  },
  "hsl": {
    "h": 212.958,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31602,
    "c": 0.07936,
    "h": 255.1
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#123259
secondary
#926835
accent
#9C3FE9
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123259

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

Preview Lab → · Contrast checker → · Palette generator →

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