#0F2868#0F2868

#0F2868 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.117 H 264.3°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#0F2868
RGBrgb(15, 40, 104)
HSLhsl(223, 75%, 23%)
HSVhsv(223, 86%, 41%)
CMYKcmyk(85.6%, 61.5%, 0%, 59.2%)
CIE-LABlab(18.45, 17.14, -40.14)
CIE-LCHlch(18.45, 43.64, 293.12°)
OKLaboklab(30.32% -0.0116 -0.116)
OKLCHoklch(30.32% 0.117 264.3)
XYZxyz(3.4536, 2.6182, 13.4174)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2868 #684F0F
analogous
#0F5468 #0F2868 #220F68
triadic
#0F2868 #680F28 #28680F
tetradic
#0F2868 #680F54 #684F0F #0F6822
square
#0F2868 #680F54 #684F0F #0F6822
split-complementary
#0F2868 #68220F #54680F
monochromatic
#040A1B #071333 #0F2868 #173D9D #1E51D3

Accessibility & contrast

On white

13.78
#0F2868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2868
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2868#FFFFFF#000000##FFFFFF
##0F28681.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2868;
/* rgb */ color: rgb(15, 40, 104);
/* oklch */ color: oklch(30.3% 0.117 264.3);
Tailwind
colors: {
  custom: {
    50: '#5f6194',
    500: '#0f2868',
    950: '#000000',
  },
}
SCSS
$custom: #0f2868;
$custom-light: #5f6194;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2868",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 223.146,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3032,
    "c": 0.11658,
    "h": 264.3
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#0F2868
secondary
#A18232
accent
#BD36F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #0F2868

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

Preview Lab → · Contrast checker → · Palette generator →

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