#0F2258#0F2258

#0F2258 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.101 H 265.4°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#0F2258
RGBrgb(15, 34, 88)
HSLhsl(224, 71%, 20%)
HSVhsv(224, 83%, 35%)
CMYKcmyk(83%, 61.4%, 0%, 65.5%)
CIE-LABlab(15.22, 14.71, -34.79)
CIE-LCHlch(15.22, 37.77, 292.92°)
OKLaboklab(27.46% -0.008 -0.1004)
OKLCHoklch(27.46% 0.101 265.4)
XYZxyz(2.5299, 1.9499, 9.4737)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2258 #58450F
analogous
#0F4658 #0F2258 #210F58
triadic
#0F2258 #580F22 #22580F
tetradic
#0F2258 #580F46 #58450F #0F5821
square
#0F2258 #580F46 #58450F #0F5821
split-complementary
#0F2258 #58210F #46580F
monochromatic
#040A1A #060E24 #0F2258 #18368C #214AC1

Accessibility & contrast

On white

15.11
#0F2258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2258
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2258#FFFFFF#000000##FFFFFF
##0F22581.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#002357
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2258;
/* rgb */ color: rgb(15, 34, 88);
/* oklch */ color: oklch(27.5% 0.101 265.4);
Tailwind
colors: {
  custom: {
    50: '#5b5c88',
    500: '#0f2258',
    950: '#000000',
  },
}
SCSS
$custom: #0f2258;
$custom-light: #5b5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2258",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 224.384,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27455,
    "c": 0.10073,
    "h": 265.4
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#0F2258
secondary
#927931
accent
#BF3AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2258

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

Preview Lab → · Contrast checker → · Palette generator →

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