#0F2866#0F2866

#0F2866 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.114 H 264.1°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#0F2866
RGBrgb(15, 40, 102)
HSLhsl(223, 74%, 23%)
HSVhsv(223, 85%, 40%)
CMYKcmyk(85.3%, 60.8%, 0%, 60%)
CIE-LABlab(18.27, 16.28, -39.12)
CIE-LCHlch(18.27, 42.37, 292.60°)
OKLaboklab(30.13% -0.0117 -0.113)
OKLCHoklch(30.13% 0.114 264.1)
XYZxyz(3.3532, 2.5781, 12.8887)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2866 #664D0F
analogous
#0F5366 #0F2866 #220F66
triadic
#0F2866 #660F28 #28660F
tetradic
#0F2866 #660F53 #664D0F #0F6622
square
#0F2866 #660F53 #664D0F #0F6622
split-complementary
#0F2866 #66220F #53660F
monochromatic
#040A1B #071331 #0F2866 #173D9B #1F52D1

Accessibility & contrast

On white

13.86
#0F2866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2866
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2866#FFFFFF#000000##FFFFFF
##0F28661.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2866;
/* rgb */ color: rgb(15, 40, 102);
/* oklch */ color: oklch(30.1% 0.114 264.1);
Tailwind
colors: {
  custom: {
    50: '#5e6192',
    500: '#0f2866',
    950: '#000000',
  },
}
SCSS
$custom: #0f2866;
$custom-light: #5e6192;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2866",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 222.759,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30132,
    "c": 0.11361,
    "h": 264.1
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#0F2866
secondary
#9F8032
accent
#BB37F1
background
#F5F5F9
surface
#EAE9F1
border
#C6C5CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2866

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

Preview Lab → · Contrast checker → · Palette generator →

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