#0F265E#0F265E

#0F265E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.104 H 264.1°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#0F265E
RGBrgb(15, 38, 94)
HSLhsl(223, 72%, 21%)
HSVhsv(223, 84%, 37%)
CMYKcmyk(84%, 59.6%, 0%, 63.1%)
CIE-LABlab(16.97, 14.31, -35.96)
CIE-LCHlch(16.97, 38.70, 291.70°)
OKLaboklab(28.93% -0.0108 -0.1038)
OKLCHoklch(28.93% 0.104 264.1)
XYZxyz(2.9098, 2.2956, 10.8772)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F265E #5E470F
analogous
#0F4E5E #0F265E #200F5E
triadic
#0F265E #5E0F26 #265E0F
tetradic
#0F265E #5E0F4E #5E470F #0F5E20
square
#0F265E #5E0F4E #5E470F #0F5E20
split-complementary
#0F265E #5E200F #4E5E0F
monochromatic
#040B1A #071129 #0F265E #173B93 #2051C8

Accessibility & contrast

On white

14.39
#0F265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F265E
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F265E#FFFFFF#000000##FFFFFF
##0F265E1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f265e;
/* rgb */ color: rgb(15, 38, 94);
/* oklch */ color: oklch(28.9% 0.104 264.1);
Tailwind
colors: {
  custom: {
    50: '#5c5f8c',
    500: '#0f265e',
    950: '#000000',
  },
}
SCSS
$custom: #0f265e;
$custom-light: #5c5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f265e",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 222.532,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28934,
    "c": 0.10432,
    "h": 264.1
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#0F265E
secondary
#977A31
accent
#BA39EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F265E

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

Preview Lab → · Contrast checker → · Palette generator →

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