#0F2867#0F2867

#0F2867 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.115 H 264.2°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#0F2867
RGBrgb(15, 40, 103)
HSLhsl(223, 75%, 23%)
HSVhsv(223, 85%, 40%)
CMYKcmyk(85.4%, 61.2%, 0%, 59.6%)
CIE-LABlab(18.36, 16.71, -39.63)
CIE-LCHlch(18.36, 43.01, 292.86°)
OKLaboklab(30.23% -0.0117 -0.1145)
OKLCHoklch(30.23% 0.115 264.2)
XYZxyz(3.4031, 2.5980, 13.1514)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2867 #674E0F
analogous
#0F5467 #0F2867 #220F67
triadic
#0F2867 #670F28 #28670F
tetradic
#0F2867 #670F54 #674E0F #0F6722
square
#0F2867 #670F54 #674E0F #0F6722
split-complementary
#0F2867 #67220F #54670F
monochromatic
#040A1B #071332 #0F2867 #173D9C #1F51D2

Accessibility & contrast

On white

13.82
#0F2867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2867
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2867#FFFFFF#000000##FFFFFF
##0F28671.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2867;
/* rgb */ color: rgb(15, 40, 103);
/* oklch */ color: oklch(30.2% 0.115 264.2);
Tailwind
colors: {
  custom: {
    50: '#5f6193',
    500: '#0f2867',
    950: '#000000',
  },
}
SCSS
$custom: #0f2867;
$custom-light: #5f6193;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2867",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 222.955,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30226,
    "c": 0.11509,
    "h": 264.2
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#0F2867
secondary
#A08132
accent
#BC37F1
background
#F5F5F9
surface
#EAE9F1
border
#C6C5CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2867

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

Preview Lab → · Contrast checker → · Palette generator →

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