#0F2168#0F2168

#0F2168 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.8% C 0.126 H 266.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#0F2168
RGBrgb(15, 33, 104)
HSLhsl(228, 75%, 23%)
HSVhsv(228, 86%, 41%)
CMYKcmyk(85.6%, 68.3%, 0%, 59.2%)
CIE-LABlab(16.45, 22.24, -43.41)
CIE-LCHlch(16.45, 48.77, 297.13°)
OKLaboklab(28.83% -0.0072 -0.1257)
OKLCHoklch(28.83% 0.126 266.7)
XYZxyz(3.2387, 2.1884, 13.3457)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2168 #68560F
analogous
#0F4D68 #0F2168 #290F68
triadic
#0F2168 #680F21 #21680F
tetradic
#0F2168 #680F4D #68560F #0F6829
square
#0F2168 #680F4D #68560F #0F6829
split-complementary
#0F2168 #68290F #4D680F
monochromatic
#04081B #071033 #0F2168 #17329D #1E43D3

Accessibility & contrast

On white

14.61
#0F2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2168
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2168#FFFFFF#000000##FFFFFF
##0F21681.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2168;
/* rgb */ color: rgb(15, 33, 104);
/* oklch */ color: oklch(28.8% 0.126 266.7);
Tailwind
colors: {
  custom: {
    50: '#605c94',
    500: '#0f2168',
    950: '#000000',
  },
}
SCSS
$custom: #0f2168;
$custom-light: #605c94;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2168",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 227.865,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28834,
    "c": 0.12589,
    "h": 266.7
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#0F2168
secondary
#A18A32
accent
#CC36F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2168

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

Preview Lab → · Contrast checker → · Palette generator →

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