#0F2068#0F2068

#0F2068 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.127 H 267.0°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#0F2068
RGBrgb(15, 32, 104)
HSLhsl(229, 75%, 23%)
HSVhsv(229, 86%, 41%)
CMYKcmyk(85.6%, 69.2%, 0%, 59.2%)
CIE-LABlab(16.17, 22.96, -43.85)
CIE-LCHlch(16.17, 49.50, 297.64°)
OKLaboklab(28.63% -0.0066 -0.127)
OKLCHoklch(28.63% 0.127 267)
XYZxyz(3.2113, 2.1337, 13.3366)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2068 #68570F
analogous
#0F4C68 #0F2068 #2A0F68
triadic
#0F2068 #680F20 #20680F
tetradic
#0F2068 #680F4C #68570F #0F682A
square
#0F2068 #680F4C #68570F #0F682A
split-complementary
#0F2068 #682A0F #4C680F
monochromatic
#04081B #071033 #0F2068 #17309D #1E41D3

Accessibility & contrast

On white

14.72
#0F2068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2068
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2068#FFFFFF#000000##FFFFFF
##0F20681.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2068;
/* rgb */ color: rgb(15, 32, 104);
/* oklch */ color: oklch(28.6% 0.127 267.0);
Tailwind
colors: {
  custom: {
    50: '#605b94',
    500: '#0f2068',
    950: '#000000',
  },
}
SCSS
$custom: #0f2068;
$custom-light: #605b94;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2068",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 228.539,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28634,
    "c": 0.12716,
    "h": 267
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#0F2068
secondary
#A18B32
accent
#CE36F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2068

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

Preview Lab → · Contrast checker → · Palette generator →

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