#123363#123363

#123363 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.093 H 258.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#123363
RGBrgb(18, 51, 99)
HSLhsl(216, 69%, 23%)
HSVhsv(216, 82%, 39%)
CMYKcmyk(81.8%, 48.5%, 0%, 61.2%)
CIE-LABlab(21.57, 7.29, -31.81)
CIE-LCHlch(21.57, 32.64, 282.91°)
OKLaboklab(32.6% -0.0191 -0.0912)
OKLCHoklch(32.6% 0.093 258.2)
XYZxyz(3.6846, 3.3967, 12.2634)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123363 #634212
analogous
#125B63 #123363 #1A1263
triadic
#123363 #631233 #336312
tetradic
#123363 #63125B #634212 #12631A
square
#123363 #63125B #634212 #12631A
split-complementary
#123363 #631A12 #5B6312
monochromatic
#050D1A #09182F #123363 #1B4E97 #2568CB

Accessibility & contrast

On white

12.50
#123363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#123363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123363
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123363#FFFFFF#000000##FFFFFF
##1233631.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3865
Deuteranopia (green-blind)
#073062
Tritanopia (blue-blind)
#003E46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123363;
/* rgb */ color: rgb(18, 51, 99);
/* oklch */ color: oklch(32.6% 0.093 258.2);
Tailwind
colors: {
  custom: {
    50: '#5e6a90',
    500: '#123363',
    950: '#000000',
  },
}
SCSS
$custom: #123363;
$custom-light: #5e6a90;
$custom-dark: #000000;
JSON
{
  "hex": "#123363",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 99
  },
  "hsl": {
    "h": 215.556,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32603,
    "c": 0.09322,
    "h": 258.2
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#123363
secondary
#9B7236
accent
#A43CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123363

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

Preview Lab → · Contrast checker → · Palette generator →

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