#123D62#123D62

#123D62 is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 35.1% C 0.080 H 248.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#123D62
RGBrgb(18, 61, 98)
HSLhsl(208, 69%, 23%)
HSVhsv(208, 82%, 38%)
CMYKcmyk(81.6%, 37.8%, 0%, 61.6%)
CIE-LABlab(24.79, -0.14, -26.03)
CIE-LCHlch(24.79, 26.03, 269.69°)
OKLaboklab(35.09% -0.0292 -0.0741)
OKLCHoklch(35.09% 0.08 248.4)
XYZxyz(4.1220, 4.3474, 12.1748)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D62 #623712
analogous
#12625F #123D62 #121562
triadic
#123D62 #62123D #3D6212
tetradic
#123D62 #5F1262 #623712 #156212
square
#123D62 #5F1262 #623712 #156212
split-complementary
#123D62 #621215 #625F12
monochromatic
#05101A #091D2E #123D62 #1B5D96 #257DC9

Accessibility & contrast

On white

11.23
#123D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123D62
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D62#FFFFFF#000000##FFFFFF
##123D621.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F64
Deuteranopia (green-blind)
#203761
Tritanopia (blue-blind)
#00464A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123d62;
/* rgb */ color: rgb(18, 61, 98);
/* oklch */ color: oklch(35.1% 0.080 248.4);
Tailwind
colors: {
  custom: {
    50: '#5d728f',
    500: '#123d62',
    950: '#000000',
  },
}
SCSS
$custom: #123d62;
$custom-light: #5d728f;
$custom-dark: #000000;
JSON
{
  "hex": "#123d62",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 98
  },
  "hsl": {
    "h": 207.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35091,
    "c": 0.07963,
    "h": 248.4
  },
  "luminance": 0.04348
}

Semantic roles & 50–950 ramp

primary
#123D62
secondary
#9A6436
accent
#8D3CEC
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123D62

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

Preview Lab → · Contrast checker → · Palette generator →

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