#123258#123258

#123258 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.5% C 0.078 H 254.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#123258
RGBrgb(18, 50, 88)
HSLhsl(213, 66%, 21%)
HSVhsv(213, 80%, 35%)
CMYKcmyk(79.5%, 43.2%, 0%, 65.5%)
CIE-LABlab(20.49, 3.32, -26.30)
CIE-LCHlch(20.49, 26.50, 277.19°)
OKLaboklab(31.53% -0.0207 -0.075)
OKLCHoklch(31.53% 0.078 254.6)
XYZxyz(3.1509, 3.1140, 9.6656)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123258 #583812
analogous
#125558 #123258 #151258
triadic
#123258 #581232 #325812
tetradic
#123258 #581255 #583812 #125815
square
#123258 #581255 #583812 #125815
split-complementary
#123258 #581512 #555812
monochromatic
#050E19 #081525 #123258 #1C4F8B #276CBE

Accessibility & contrast

On white

12.94
#123258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#123258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123258
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123258#FFFFFF#000000##FFFFFF
##1232581.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20355A
Deuteranopia (green-blind)
#152E57
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123258;
/* rgb */ color: rgb(18, 50, 88);
/* oklch */ color: oklch(31.5% 0.078 254.6);
Tailwind
colors: {
  custom: {
    50: '#5b6987',
    500: '#123258',
    950: '#000000',
  },
}
SCSS
$custom: #123258;
$custom-light: #5b6987;
$custom-dark: #000000;
JSON
{
  "hex": "#123258",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 212.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31531,
    "c": 0.07785,
    "h": 254.6
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#123258
secondary
#916735
accent
#9B3FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123258

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

Preview Lab → · Contrast checker → · Palette generator →

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