#0F214C#0F214C

#0F214C is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.083 H 264.3°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#0F214C
RGBrgb(15, 33, 76)
HSLhsl(222, 67%, 18%)
HSVhsv(222, 80%, 30%)
CMYKcmyk(80.3%, 56.6%, 0%, 70.2%)
CIE-LABlab(13.89, 10.23, -28.81)
CIE-LCHlch(13.89, 30.57, 289.54°)
OKLaboklab(26.13% -0.0083 -0.0828)
OKLCHoklch(26.13% 0.083 264.3)
XYZxyz(2.0449, 1.7109, 7.0585)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F214C #4C3A0F
analogous
#0F3F4C #0F214C #1B0F4C
triadic
#0F214C #4C0F21 #214C0F
tetradic
#0F214C #4C0F3F #4C3A0F #0F4C1B
square
#0F214C #4C0F3F #4C3A0F #0F4C1B
split-complementary
#0F214C #4C1B0F #3F4C0F
monochromatic
#050B1A #050B1A #0F214C #19377F #234DB2

Accessibility & contrast

On white

15.65
#0F214C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F214C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F214C
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F214C#FFFFFF#000000##FFFFFF
##0F214C1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06264E
Deuteranopia (green-blind)
#00214B
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f214c;
/* rgb */ color: rgb(15, 33, 76);
/* oklch */ color: oklch(26.1% 0.083 264.3);
Tailwind
colors: {
  custom: {
    50: '#575b7e',
    500: '#0f214c',
    950: '#000000',
  },
}
SCSS
$custom: #0f214c;
$custom-light: #575b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f214c",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 76
  },
  "hsl": {
    "h": 222.295,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26127,
    "c": 0.08324,
    "h": 264.3
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#0F214C
secondary
#866D31
accent
#B73EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F214C

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

Preview Lab → · Contrast checker → · Palette generator →

#0F214C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva