#123E5F#123E5F

#123E5F is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.2% C 0.074 H 245.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#123E5F
RGBrgb(18, 62, 95)
HSLhsl(206, 68%, 22%)
HSVhsv(206, 81%, 37%)
CMYKcmyk(81.1%, 34.7%, 0%, 62.7%)
CIE-LABlab(24.95, -2.06, -23.83)
CIE-LCHlch(24.95, 23.92, 265.05°)
OKLaboklab(35.16% -0.0313 -0.0676)
OKLCHoklch(35.16% 0.074 245.2)
XYZxyz(4.0368, 4.3996, 11.4607)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E5F #5F3312
analogous
#125F5A #123E5F #12185F
triadic
#123E5F #5F123E #3E5F12
tetradic
#123E5F #5A125F #5F3312 #185F12
square
#123E5F #5A125F #5F3312 #185F12
split-complementary
#123E5F #5F1218 #5F5A12
monochromatic
#05111A #081C2C #123E5F #1C6092 #2581C6

Accessibility & contrast

On white

11.17
#123E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#123E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E5F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E5F#FFFFFF#000000##FFFFFF
##123E5F1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F60
Deuteranopia (green-blind)
#24385E
Tritanopia (blue-blind)
#00464A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123e5f;
/* rgb */ color: rgb(18, 62, 95);
/* oklch */ color: oklch(35.2% 0.074 245.2);
Tailwind
colors: {
  custom: {
    50: '#5d738c',
    500: '#123e5f',
    950: '#000000',
  },
}
SCSS
$custom: #123e5f;
$custom-light: #5d738c;
$custom-dark: #000000;
JSON
{
  "hex": "#123e5f",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 95
  },
  "hsl": {
    "h": 205.714,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.35163,
    "c": 0.07449,
    "h": 245.2
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#123E5F
secondary
#975F36
accent
#873DEB
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #123E5F

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

Preview Lab → · Contrast checker → · Palette generator →

#123E5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva