#0F295E#0F295E

#0F295E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.100 H 262.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#0F295E
RGBrgb(15, 41, 94)
HSLhsl(220, 72%, 21%)
HSVhsv(220, 84%, 37%)
CMYKcmyk(84%, 56.4%, 0%, 63.1%)
CIE-LABlab(17.90, 12.08, -34.45)
CIE-LCHlch(17.90, 36.51, 289.32°)
OKLaboklab(29.64% -0.0132 -0.0993)
OKLCHoklch(29.64% 0.1 262.4)
XYZxyz(3.0096, 2.4952, 10.9105)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F295E #5E440F
analogous
#0F515E #0F295E #1D0F5E
triadic
#0F295E #5E0F29 #295E0F
tetradic
#0F295E #5E0F51 #5E440F #0F5E1D
square
#0F295E #5E0F51 #5E440F #0F5E1D
split-complementary
#0F295E #5E1D0F #515E0F
monochromatic
#040C1A #071229 #0F295E #174093 #2057C8

Accessibility & contrast

On white

14.01
#0F295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F295E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F295E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F295E#FFFFFF#000000##FFFFFF
##0F295E1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043060
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f295e;
/* rgb */ color: rgb(15, 41, 94);
/* oklch */ color: oklch(29.6% 0.100 262.4);
Tailwind
colors: {
  custom: {
    50: '#5c628c',
    500: '#0f295e',
    950: '#000000',
  },
}
SCSS
$custom: #0f295e;
$custom-light: #5c628c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f295e",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 220.253,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29638,
    "c": 0.10015,
    "h": 262.4
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#0F295E
secondary
#977631
accent
#B339EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F295E

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

Preview Lab → · Contrast checker → · Palette generator →

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