#0F2855#0F2855

#0F2855 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.088 H 261.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#0F2855
RGBrgb(15, 40, 85)
HSLhsl(219, 70%, 20%)
HSVhsv(219, 82%, 33%)
CMYKcmyk(82.4%, 52.9%, 0%, 66.7%)
CIE-LABlab(16.87, 8.89, -30.11)
CIE-LCHlch(16.87, 31.40, 286.44°)
OKLaboklab(28.63% -0.0136 -0.0865)
OKLCHoklch(28.63% 0.088 261)
XYZxyz(2.5949, 2.2747, 8.8949)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2855 #553C0F
analogous
#0F4B55 #0F2855 #190F55
triadic
#0F2855 #550F28 #28550F
tetradic
#0F2855 #550F4B #553C0F #0F5519
square
#0F2855 #550F4B #553C0F #0F5519
split-complementary
#0F2855 #55190F #4B550F
monochromatic
#050C1A #061021 #0F2855 #184089 #2159BD

Accessibility & contrast

On white

14.43
#0F2855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2855
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2855#FFFFFF#000000##FFFFFF
##0F28551.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2D57
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2855;
/* rgb */ color: rgb(15, 40, 85);
/* oklch */ color: oklch(28.6% 0.088 261.0);
Tailwind
colors: {
  custom: {
    50: '#596185',
    500: '#0f2855',
    950: '#000000',
  },
}
SCSS
$custom: #0f2855;
$custom-light: #596185;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2855",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 218.571,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28626,
    "c": 0.08759,
    "h": 261
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#0F2855
secondary
#8F6D31
accent
#AD3BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2855

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

Preview Lab → · Contrast checker → · Palette generator →

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