#12468F#12468F

#12468F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.6% C 0.132 H 258.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#12468F
RGBrgb(18, 70, 143)
HSLhsl(215, 78%, 32%)
HSVhsv(215, 87%, 56%)
CMYKcmyk(87.4%, 51%, 0%, 43.9%)
CIE-LABlab(30.62, 12.51, -45.03)
CIE-LCHlch(30.62, 46.74, 285.53°)
OKLaboklab(40.58% -0.027 -0.1297)
OKLCHoklch(40.58% 0.132 258.2)
XYZxyz(7.3957, 6.4912, 26.8444)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12468F #8F5B12
analogous
#12858F #12468F #1D128F
triadic
#12468F #8F1246 #468F12
tetradic
#12468F #8F1285 #8F5B12 #128F1D
square
#12468F #8F1285 #8F5B12 #128F1D
split-complementary
#12468F #8F1D12 #858F12
monochromatic
#041122 #0B2B59 #12468F #1961C5 #367FE6

Accessibility & contrast

On white

9.14
#12468F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#12468F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12468F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12468F#FFFFFF#000000##FFFFFF
##12468F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E92
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12468f;
/* rgb */ color: rgb(18, 70, 143);
/* oklch */ color: oklch(40.6% 0.132 258.2);
Tailwind
colors: {
  custom: {
    50: '#6978b0',
    500: '#12468f',
    950: '#000000',
  },
}
SCSS
$custom: #12468f;
$custom-light: #6978b0;
$custom-dark: #000000;
JSON
{
  "hex": "#12468f",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 143
  },
  "hsl": {
    "h": 215.04,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.13249,
    "h": 258.2
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#12468F
secondary
#C38A3A
accent
#A434F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #12468F

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

Preview Lab → · Contrast checker → · Palette generator →

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