#123357#123357

#123357 is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.075 H 253.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#123357
RGBrgb(18, 51, 87)
HSLhsl(211, 66%, 21%)
HSVhsv(211, 79%, 34%)
CMYKcmyk(79.3%, 41.4%, 0%, 65.9%)
CIE-LABlab(20.77, 2.18, -25.20)
CIE-LCHlch(20.77, 25.30, 274.94°)
OKLaboklab(31.72% -0.022 -0.0718)
OKLCHoklch(31.72% 0.075 253)
XYZxyz(3.1529, 3.1840, 9.4634)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123357 #573612
analogous
#125557 #123357 #131257
triadic
#123357 #571233 #335712
tetradic
#123357 #571255 #573612 #125713
square
#123357 #571255 #573612 #125713
split-complementary
#123357 #571312 #555712
monochromatic
#050F19 #081524 #123357 #1C518A #276EBC

Accessibility & contrast

On white

12.83
#123357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123357
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123357#FFFFFF#000000##FFFFFF
##1233571.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223558
Deuteranopia (green-blind)
#182F56
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123357;
/* rgb */ color: rgb(18, 51, 87);
/* oklch */ color: oklch(31.7% 0.075 253.0);
Tailwind
colors: {
  custom: {
    50: '#5b6a86',
    500: '#123357',
    950: '#000000',
  },
}
SCSS
$custom: #123357;
$custom-light: #5b6a86;
$custom-dark: #000000;
JSON
{
  "hex": "#123357",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 87
  },
  "hsl": {
    "h": 211.304,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31722,
    "c": 0.07512,
    "h": 253
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#123357
secondary
#906435
accent
#983FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123357

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

Preview Lab → · Contrast checker → · Palette generator →

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