#123254#123254

#123254 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.3% C 0.072 H 252.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#123254
RGBrgb(18, 50, 84)
HSLhsl(211, 65%, 20%)
HSVhsv(211, 79%, 33%)
CMYKcmyk(78.6%, 40.5%, 0%, 67.1%)
CIE-LABlab(20.24, 1.62, -24.04)
CIE-LCHlch(20.24, 24.10, 273.86°)
OKLaboklab(31.25% -0.0218 -0.0684)
OKLCHoklch(31.25% 0.072 252.3)
XYZxyz(2.9897, 3.0496, 8.8168)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123254 #543412
analogous
#125354 #123254 #131254
triadic
#123254 #541232 #325412
tetradic
#123254 #541253 #543412 #125413
square
#123254 #541253 #543412 #125413
split-complementary
#123254 #541312 #535412
monochromatic
#050F19 #071422 #123254 #1D5086 #286EB9

Accessibility & contrast

On white

13.04
#123254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#123254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123254
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123254#FFFFFF#000000##FFFFFF
##1232541.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223455
Deuteranopia (green-blind)
#192E53
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123254;
/* rgb */ color: rgb(18, 50, 84);
/* oklch */ color: oklch(31.3% 0.072 252.3);
Tailwind
colors: {
  custom: {
    50: '#5a6984',
    500: '#123254',
    950: '#000000',
  },
}
SCSS
$custom: #123254;
$custom-light: #5a6984;
$custom-dark: #000000;
JSON
{
  "hex": "#123254",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 210.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3125,
    "c": 0.07183,
    "h": 252.3
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#123254
secondary
#8D6235
accent
#9640E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123254

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

Preview Lab → · Contrast checker → · Palette generator →

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