#123E6F#123E6F

#123E6F is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.2% C 0.097 H 254.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#123E6F
RGBrgb(18, 62, 111)
HSLhsl(212, 72%, 25%)
HSVhsv(212, 84%, 44%)
CMYKcmyk(83.8%, 44.1%, 0%, 56.5%)
CIE-LABlab(25.92, 4.62, -32.57)
CIE-LCHlch(25.92, 32.90, 278.07°)
OKLaboklab(36.24% -0.0267 -0.0932)
OKLCHoklch(36.24% 0.097 254)
XYZxyz(4.8402, 4.7210, 15.6920)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E6F #6F4312
analogous
#126C6F #123E6F #15126F
triadic
#123E6F #6F123E #3E6F12
tetradic
#123E6F #6F126C #6F4312 #126F15
square
#123E6F #6F126C #6F4312 #126F15
split-complementary
#123E6F #6F1512 #6C6F12
monochromatic
#040F1A #09213A #123E6F #1B5BA4 #2379D8

Accessibility & contrast

On white

10.80
#123E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#123E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E6F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E6F#FFFFFF#000000##FFFFFF
##123E6F1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264271
Deuteranopia (green-blind)
#153A6E
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123e6f;
/* rgb */ color: rgb(18, 62, 111);
/* oklch */ color: oklch(36.2% 0.097 254.0);
Tailwind
colors: {
  custom: {
    50: '#617299',
    500: '#123e6f',
    950: '#000000',
  },
}
SCSS
$custom: #123e6f;
$custom-light: #617299;
$custom-dark: #000000;
JSON
{
  "hex": "#123e6f",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 111
  },
  "hsl": {
    "h": 211.613,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36242,
    "c": 0.09698,
    "h": 254
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#123E6F
secondary
#A67137
accent
#9939EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #123E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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