#123252#123252

#123252 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.069 H 251.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#123252
RGBrgb(18, 50, 82)
HSLhsl(210, 64%, 20%)
HSVhsv(210, 78%, 32%)
CMYKcmyk(78%, 39%, 0%, 67.8%)
CIE-LABlab(20.12, 0.78, -22.90)
CIE-LCHlch(20.12, 22.91, 271.95°)
OKLaboklab(31.11% -0.0224 -0.0651)
OKLCHoklch(31.11% 0.069 251)
XYZxyz(2.9125, 3.0187, 8.4102)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123252 #523212
analogous
#125252 #123252 #121252
triadic
#123252 #521232 #325212
tetradic
#123252 #521252 #523212 #125212
square
#123252 #521252 #523212 #125212
split-complementary
#123252 #521212 #525212
monochromatic
#060F19 #071320 #123252 #1D5184 #286FB6

Accessibility & contrast

On white

13.09
#123252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#123252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123252
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123252#FFFFFF#000000##FFFFFF
##1232521.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233453
Deuteranopia (green-blind)
#1A2E51
Tritanopia (blue-blind)
#003A3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123252;
/* rgb */ color: rgb(18, 50, 82);
/* oklch */ color: oklch(31.1% 0.069 251.0);
Tailwind
colors: {
  custom: {
    50: '#596983',
    500: '#123252',
    950: '#000000',
  },
}
SCSS
$custom: #123252;
$custom-light: #596983;
$custom-dark: #000000;
JSON
{
  "hex": "#123252",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 210,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31114,
    "c": 0.06885,
    "h": 251
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#123252
secondary
#8B6035
accent
#9441E7
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #123252

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

Preview Lab → · Contrast checker → · Palette generator →

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