#123054#123054

#123054 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.074 H 254.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#123054
RGBrgb(18, 48, 84)
HSLhsl(213, 65%, 20%)
HSVhsv(213, 79%, 33%)
CMYKcmyk(78.6%, 42.9%, 0%, 67.1%)
CIE-LABlab(19.57, 3.04, -25.11)
CIE-LCHlch(19.57, 25.30, 276.91°)
OKLaboklab(30.72% -0.0196 -0.0716)
OKLCHoklch(30.72% 0.074 254.7)
XYZxyz(2.9060, 2.8823, 8.7890)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123054 #543612
analogous
#125154 #123054 #151254
triadic
#123054 #541230 #305412
tetradic
#123054 #541251 #543612 #125415
square
#123054 #541251 #543612 #125415
split-complementary
#123054 #541512 #515412
monochromatic
#050E19 #071322 #123054 #1D4D86 #286AB9

Accessibility & contrast

On white

13.32
#123054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#123054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123054
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123054#FFFFFF#000000##FFFFFF
##1230541.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3355
Deuteranopia (green-blind)
#152D53
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #123054;
/* rgb */ color: rgb(18, 48, 84);
/* oklch */ color: oklch(30.7% 0.074 254.7);
Tailwind
colors: {
  custom: {
    50: '#5a6784',
    500: '#123054',
    950: '#000000',
  },
}
SCSS
$custom: #123054;
$custom-light: #5a6784;
$custom-dark: #000000;
JSON
{
  "hex": "#123054",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 84
  },
  "hsl": {
    "h": 212.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30723,
    "c": 0.07426,
    "h": 254.7
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#123054
secondary
#8D6535
accent
#9C40E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123054

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

Preview Lab → · Contrast checker → · Palette generator →

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