#12263F#12263F

#12263F is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.6% C 0.054 H 254.9°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#12263F
RGBrgb(18, 38, 63)
HSLhsl(213, 56%, 16%)
HSVhsv(213, 71%, 25%)
CMYKcmyk(71.4%, 39.7%, 0%, 75.3%)
CIE-LABlab(14.81, 1.44, -18.34)
CIE-LCHlch(14.81, 18.40, 274.50°)
OKLaboklab(26.58% -0.014 -0.0519)
OKLCHoklch(26.58% 0.054 254.9)
XYZxyz(1.8394, 1.8735, 4.9664)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12263F #3F2B12
analogous
#123C3F #12263F #14123F
triadic
#12263F #3F1226 #263F12
tetradic
#12263F #3F123C #3F2B12 #123F14
square
#12263F #3F123C #3F2B12 #123F14
split-complementary
#12263F #3F1412 #3C3F12
monochromatic
#070E18 #070E18 #12263F #20436F #2D5F9E

Accessibility & contrast

On white

15.27
#12263F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#12263F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12263F
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12263F#FFFFFF#000000##FFFFFF
##12263F1.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2840
Deuteranopia (green-blind)
#15233E
Tritanopia (blue-blind)
#002C2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #12263f;
/* rgb */ color: rgb(18, 38, 63);
/* oklch */ color: oklch(26.6% 0.054 254.9);
Tailwind
colors: {
  custom: {
    50: '#556074',
    500: '#12263f',
    950: '#000000',
  },
}
SCSS
$custom: #12263f;
$custom-light: #556074;
$custom-dark: #000000;
JSON
{
  "hex": "#12263f",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 63
  },
  "hsl": {
    "h": 213.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2658,
    "c": 0.0538,
    "h": 254.9
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#12263F
secondary
#785A35
accent
#9C49DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #12263F

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

Preview Lab → · Contrast checker → · Palette generator →

#12263F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva