#0F264E#0F264E

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

Color values

HEX#0F264E
RGBrgb(15, 38, 78)
HSLhsl(218, 68%, 18%)
HSVhsv(218, 81%, 31%)
CMYKcmyk(80.8%, 51.3%, 0%, 69.4%)
CIE-LABlab(15.68, 7.31, -27.29)
CIE-LCHlch(15.68, 28.25, 285.01°)
OKLaboklab(27.55% -0.0129 -0.0782)
OKLCHoklch(27.55% 0.079 260.6)
XYZxyz(2.2648, 2.0376, 7.4802)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F264E #4E370F
analogous
#0F454E #0F264E #170F4E
triadic
#0F264E #4E0F26 #264E0F
tetradic
#0F264E #4E0F45 #4E370F #0F4E17
square
#0F264E #4E0F45 #4E370F #0F4E17
split-complementary
#0F264E #4E170F #454E0F
monochromatic
#050D1A #050D1B #0F264E #193F81 #2358B5

Accessibility & contrast

On white

14.92
#0F264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F264E
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F264E#FFFFFF#000000##FFFFFF
##0F264E1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A4F
Deuteranopia (green-blind)
#04244D
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f264e;
/* rgb */ color: rgb(15, 38, 78);
/* oklch */ color: oklch(27.5% 0.079 260.6);
Tailwind
colors: {
  custom: {
    50: '#585f80',
    500: '#0f264e',
    950: '#000000',
  },
}
SCSS
$custom: #0f264e;
$custom-light: #585f80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f264e",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 218.095,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27548,
    "c": 0.07931,
    "h": 260.6
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#0F264E
secondary
#886831
accent
#AB3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F264E

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

Preview Lab → · Contrast checker → · Palette generator →

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