#123B5E#123B5E

#123B5E is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.3% C 0.076 H 248.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#123B5E
RGBrgb(18, 59, 94)
HSLhsl(208, 68%, 22%)
HSVhsv(208, 81%, 37%)
CMYKcmyk(80.9%, 37.2%, 0%, 63.1%)
CIE-LABlab(23.88, -0.44, -24.86)
CIE-LCHlch(23.88, 24.87, 268.98°)
OKLaboklab(34.3% -0.0284 -0.0707)
OKLCHoklch(34.3% 0.076 248.1)
XYZxyz(3.8330, 4.0642, 11.1700)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B5E #5E3512
analogous
#125E5B #123B5E #12155E
triadic
#123B5E #5E123B #3B5E12
tetradic
#123B5E #5B125E #5E3512 #155E12
square
#123B5E #5B125E #5E3512 #155E12
split-complementary
#123B5E #5E1215 #5E5B12
monochromatic
#05101A #081B2B #123B5E #1C5B91 #267BC5

Accessibility & contrast

On white

11.58
#123B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#123B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B5E
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B5E#FFFFFF#000000##FFFFFF
##123B5E1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D5F
Deuteranopia (green-blind)
#20365D
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123b5e;
/* rgb */ color: rgb(18, 59, 94);
/* oklch */ color: oklch(34.3% 0.076 248.1);
Tailwind
colors: {
  custom: {
    50: '#5c708c',
    500: '#123b5e',
    950: '#000000',
  },
}
SCSS
$custom: #123b5e;
$custom-light: #5c708c;
$custom-dark: #000000;
JSON
{
  "hex": "#123b5e",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 94
  },
  "hsl": {
    "h": 207.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34303,
    "c": 0.07618,
    "h": 248.1
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#123B5E
secondary
#966235
accent
#8D3DEB
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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