#0F264D#0F264D

#0F264D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.078 H 260.3°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#0F264D
RGBrgb(15, 38, 77)
HSLhsl(218, 67%, 18%)
HSVhsv(218, 81%, 30%)
CMYKcmyk(80.5%, 50.6%, 0%, 69.8%)
CIE-LABlab(15.61, 6.87, -26.72)
CIE-LCHlch(15.61, 27.59, 284.43°)
OKLaboklab(27.47% -0.0131 -0.0766)
OKLCHoklch(27.47% 0.078 260.3)
XYZxyz(2.2292, 2.0234, 7.2928)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F264D #4D360F
analogous
#0F454D #0F264D #170F4D
triadic
#0F264D #4D0F26 #264D0F
tetradic
#0F264D #4D0F45 #4D360F #0F4D17
square
#0F264D #4D0F45 #4D360F #0F4D17
split-complementary
#0F264D #4D170F #454D0F
monochromatic
#050D1A #050D1A #0F264D #193F80 #2359B3

Accessibility & contrast

On white

14.95
#0F264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F264D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F264D
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F264D#FFFFFF#000000##FFFFFF
##0F264D1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122A4E
Deuteranopia (green-blind)
#05244C
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f264d;
/* rgb */ color: rgb(15, 38, 77);
/* oklch */ color: oklch(27.5% 0.078 260.3);
Tailwind
colors: {
  custom: {
    50: '#575f7f',
    500: '#0f264d',
    950: '#000000',
  },
}
SCSS
$custom: #0f264d;
$custom-light: #575f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f264d",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 217.742,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27467,
    "c": 0.07771,
    "h": 260.3
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#0F264D
secondary
#876731
accent
#AA3EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F264D

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

Preview Lab → · Contrast checker → · Palette generator →

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