#123D63#123D63

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

Color values

HEX#123D63
RGBrgb(18, 61, 99)
HSLhsl(208, 69%, 23%)
HSVhsv(208, 82%, 39%)
CMYKcmyk(81.8%, 38.4%, 0%, 61.2%)
CIE-LABlab(24.85, 0.27, -26.58)
CIE-LCHlch(24.85, 26.58, 270.59°)
OKLaboklab(35.16% -0.0289 -0.0757)
OKLCHoklch(35.16% 0.081 249.1)
XYZxyz(4.1695, 4.3664, 12.4250)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D63 #633812
analogous
#126360 #123D63 #121463
triadic
#123D63 #63123D #3D6312
tetradic
#123D63 #601263 #633812 #146312
square
#123D63 #601263 #633812 #146312
split-complementary
#123D63 #631214 #636012
monochromatic
#05101A #091D2F #123D63 #1B5D97 #257DCB

Accessibility & contrast

On white

11.21
#123D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#123D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D63
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D63#FFFFFF#000000##FFFFFF
##123D631.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3F65
Deuteranopia (green-blind)
#1F3862
Tritanopia (blue-blind)
#00464B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123d63;
/* rgb */ color: rgb(18, 61, 99);
/* oklch */ color: oklch(35.2% 0.081 249.1);
Tailwind
colors: {
  custom: {
    50: '#5e728f',
    500: '#123d63',
    950: '#000000',
  },
}
SCSS
$custom: #123d63;
$custom-light: #5e728f;
$custom-dark: #000000;
JSON
{
  "hex": "#123d63",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 99
  },
  "hsl": {
    "h": 208.148,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35157,
    "c": 0.08102,
    "h": 249.1
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#123D63
secondary
#9B6536
accent
#8E3CEC
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123D63

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

Preview Lab → · Contrast checker → · Palette generator →

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