#0F254B#0F254B

#0F254B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.076 H 260.5°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#0F254B
RGBrgb(15, 37, 75)
HSLhsl(218, 67%, 18%)
HSVhsv(218, 80%, 29%)
CMYKcmyk(80%, 50.7%, 0%, 70.6%)
CIE-LABlab(15.13, 6.75, -26.13)
CIE-LCHlch(15.13, 26.99, 284.48°)
OKLaboklab(27.05% -0.0125 -0.0749)
OKLCHoklch(27.05% 0.076 260.5)
XYZxyz(2.1281, 1.9325, 6.9161)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F254B #4B350F
analogous
#0F434B #0F254B #170F4B
triadic
#0F254B #4B0F25 #254B0F
tetradic
#0F254B #4B0F43 #4B350F #0F4B17
square
#0F254B #4B0F43 #4B350F #0F4B17
split-complementary
#0F254B #4B170F #434B0F
monochromatic
#050D1A #050D1A #0F254B #193E7E #2357B1

Accessibility & contrast

On white

15.14
#0F254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F254B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F254B#FFFFFF#000000##FFFFFF
##0F254B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294C
Deuteranopia (green-blind)
#05234A
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f254b;
/* rgb */ color: rgb(15, 37, 75);
/* oklch */ color: oklch(27.1% 0.076 260.5);
Tailwind
colors: {
  custom: {
    50: '#575f7d',
    500: '#0f254b',
    950: '#000000',
  },
}
SCSS
$custom: #0f254b;
$custom-light: #575f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f254b",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 218,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2705,
    "c": 0.0759,
    "h": 260.5
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#0F254B
secondary
#856630
accent
#AB3EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0F254B

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

Preview Lab → · Contrast checker → · Palette generator →

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