#123052#123052

#123052 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.6% C 0.071 H 253.5°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#123052
RGBrgb(18, 48, 82)
HSLhsl(212, 64%, 20%)
HSVhsv(212, 78%, 32%)
CMYKcmyk(78%, 41.5%, 0%, 67.8%)
CIE-LABlab(19.44, 2.20, -23.98)
CIE-LCHlch(19.44, 24.08, 275.23°)
OKLaboklab(30.58% -0.0202 -0.0683)
OKLCHoklch(30.58% 0.071 253.5)
XYZxyz(2.8288, 2.8514, 8.3823)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123052 #523412
analogous
#125052 #123052 #141252
triadic
#123052 #521230 #305212
tetradic
#123052 #521250 #523412 #125214
square
#123052 #521250 #523412 #125214
split-complementary
#123052 #521412 #505212
monochromatic
#060F19 #071320 #123052 #1D4D84 #286BB6

Accessibility & contrast

On white

13.37
#123052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#123052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123052
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123052#FFFFFF#000000##FFFFFF
##1230521.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203253
Deuteranopia (green-blind)
#172C51
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #123052;
/* rgb */ color: rgb(18, 48, 82);
/* oklch */ color: oklch(30.6% 0.071 253.5);
Tailwind
colors: {
  custom: {
    50: '#596783',
    500: '#123052',
    950: '#000000',
  },
}
SCSS
$custom: #123052;
$custom-light: #596783;
$custom-dark: #000000;
JSON
{
  "hex": "#123052",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 82
  },
  "hsl": {
    "h": 211.875,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30582,
    "c": 0.07121,
    "h": 253.5
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#123052
secondary
#8B6335
accent
#9941E7
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #123052

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

Preview Lab → · Contrast checker → · Palette generator →

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