#123962#123962

#123962 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.1% C 0.084 H 252.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#123962
RGBrgb(18, 57, 98)
HSLhsl(211, 69%, 23%)
HSVhsv(211, 82%, 38%)
CMYKcmyk(81.6%, 41.8%, 0%, 61.6%)
CIE-LABlab(23.46, 2.61, -28.14)
CIE-LCHlch(23.46, 28.26, 275.31°)
OKLaboklab(34.05% -0.0252 -0.0803)
OKLCHoklch(34.05% 0.084 252.6)
XYZxyz(3.9164, 3.9362, 12.1063)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123962 #623B12
analogous
#126162 #123962 #131262
triadic
#123962 #621239 #396212
tetradic
#123962 #621261 #623B12 #126213
square
#123962 #621261 #623B12 #126213
split-complementary
#123962 #621312 #616212
monochromatic
#050F1A #091B2E #123962 #1B5796 #2575C9

Accessibility & contrast

On white

11.75
#123962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123962
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123962#FFFFFF#000000##FFFFFF
##1239621.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263C64
Deuteranopia (green-blind)
#193561
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123962;
/* rgb */ color: rgb(18, 57, 98);
/* oklch */ color: oklch(34.1% 0.084 252.6);
Tailwind
colors: {
  custom: {
    50: '#5d6f8f',
    500: '#123962',
    950: '#000000',
  },
}
SCSS
$custom: #123962;
$custom-light: #5d6f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#123962",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 98
  },
  "hsl": {
    "h": 210.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3405,
    "c": 0.08417,
    "h": 252.6
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#123962
secondary
#9A6936
accent
#963CEC
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123962

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

Preview Lab → · Contrast checker → · Palette generator →

#123962 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva