#0F255D#0F255D

#0F255D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.104 H 264.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#0F255D
RGBrgb(15, 37, 93)
HSLhsl(223, 72%, 21%)
HSVhsv(223, 84%, 36%)
CMYKcmyk(83.9%, 60.2%, 0%, 63.5%)
CIE-LABlab(16.58, 14.63, -35.93)
CIE-LCHlch(16.58, 38.79, 292.15°)
OKLaboklab(28.61% -0.0101 -0.1037)
OKLCHoklch(28.61% 0.104 264.4)
XYZxyz(2.8337, 2.2147, 10.6319)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F255D #5D470F
analogous
#0F4C5D #0F255D #200F5D
triadic
#0F255D #5D0F25 #255D0F
tetradic
#0F255D #5D0F4C #5D470F #0F5D20
square
#0F255D #5D0F4C #5D470F #0F5D20
split-complementary
#0F255D #5D200F #4C5D0F
monochromatic
#040A1A #061028 #0F255D #173A92 #204FC6

Accessibility & contrast

On white

14.55
#0F255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F255D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F255D#FFFFFF#000000##FFFFFF
##0F255D1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f255d;
/* rgb */ color: rgb(15, 37, 93);
/* oklch */ color: oklch(28.6% 0.104 264.4);
Tailwind
colors: {
  custom: {
    50: '#5c5f8b',
    500: '#0f255d',
    950: '#000000',
  },
}
SCSS
$custom: #0f255d;
$custom-light: #5c5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f255d",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 223.077,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28612,
    "c": 0.10419,
    "h": 264.4
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#0F255D
secondary
#967A31
accent
#BC39EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F255D

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

Preview Lab → · Contrast checker → · Palette generator →

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