#0F2864#0F2864

#0F2864 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.111 H 263.8°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#0F2864
RGBrgb(15, 40, 100)
HSLhsl(222, 74%, 23%)
HSVhsv(222, 85%, 39%)
CMYKcmyk(85%, 60%, 0%, 60.8%)
CIE-LABlab(18.09, 15.42, -38.09)
CIE-LCHlch(18.09, 41.09, 292.04°)
OKLaboklab(29.95% -0.0119 -0.11)
OKLCHoklch(29.95% 0.111 263.8)
XYZxyz(3.2552, 2.5389, 12.3726)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2864 #644B0F
analogous
#0F5264 #0F2864 #210F64
triadic
#0F2864 #640F28 #28640F
tetradic
#0F2864 #640F52 #644B0F #0F6421
square
#0F2864 #640F52 #644B0F #0F6421
split-complementary
#0F2864 #64210F #52640F
monochromatic
#040B1B #07132F #0F2864 #173D99 #1F53CE

Accessibility & contrast

On white

13.93
#0F2864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F2864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2864
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2864#FFFFFF#000000##FFFFFF
##0F28641.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2864;
/* rgb */ color: rgb(15, 40, 100);
/* oklch */ color: oklch(29.9% 0.111 263.8);
Tailwind
colors: {
  custom: {
    50: '#5e6191',
    500: '#0f2864',
    950: '#000000',
  },
}
SCSS
$custom: #0f2864;
$custom-light: #5e6191;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2864",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 222.353,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29946,
    "c": 0.11063,
    "h": 263.8
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#0F2864
secondary
#9D7D32
accent
#BA37F1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #0F2864

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

Preview Lab → · Contrast checker → · Palette generator →

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