#123283#123283

#123283 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.141 H 264.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#123283
RGBrgb(18, 50, 131)
HSLhsl(223, 76%, 29%)
HSVhsv(223, 86%, 51%)
CMYKcmyk(86.3%, 61.8%, 0%, 48.6%)
CIE-LABlab(23.83, 21.55, -48.62)
CIE-LCHlch(23.83, 53.18, 293.90°)
OKLaboklab(35.13% -0.0148 -0.1407)
OKLCHoklch(35.13% 0.141 264)
XYZxyz(5.4853, 4.0478, 21.9605)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123283 #836312
analogous
#126B83 #123283 #2B1283
triadic
#123283 #831232 #328312
tetradic
#123283 #83126B #836312 #12832B
square
#123283 #83126B #836312 #12832B
split-complementary
#123283 #832B12 #6B8312
monochromatic
#040A1B #0B1D4D #123283 #1947B9 #2D60E2

Accessibility & contrast

On white

11.60
#123283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#123283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123283
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123283#FFFFFF#000000##FFFFFF
##1232831.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123283;
/* rgb */ color: rgb(18, 50, 131);
/* oklch */ color: oklch(35.1% 0.141 264.0);
Tailwind
colors: {
  custom: {
    50: '#6769a8',
    500: '#123283',
    950: '#000000',
  },
}
SCSS
$custom: #123283;
$custom-light: #6769a8;
$custom-dark: #000000;
JSON
{
  "hex": "#123283",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 223.009,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35128,
    "c": 0.14143,
    "h": 264
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#123283
secondary
#B89438
accent
#BD35F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #123283

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

Preview Lab → · Contrast checker → · Palette generator →

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