#0F2355#0F2355

#0F2355 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.095 H 264.5°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#0F2355
RGBrgb(15, 35, 85)
HSLhsl(223, 70%, 20%)
HSVhsv(223, 82%, 33%)
CMYKcmyk(82.4%, 58.8%, 0%, 66.7%)
CIE-LABlab(15.27, 12.65, -32.69)
CIE-LCHlch(15.27, 35.05, 291.15°)
OKLaboklab(27.41% -0.0091 -0.0942)
OKLCHoklch(27.41% 0.095 264.5)
XYZxyz(2.4371, 1.9592, 8.8423)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2355 #55410F
analogous
#0F4655 #0F2355 #1E0F55
triadic
#0F2355 #550F23 #23550F
tetradic
#0F2355 #550F46 #55410F #0F551E
square
#0F2355 #550F46 #55410F #0F551E
split-complementary
#0F2355 #551E0F #46550F
monochromatic
#050B1A #060E21 #0F2355 #183889 #214EBD

Accessibility & contrast

On white

15.09
#0F2355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2355
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2355#FFFFFF#000000##FFFFFF
##0F23551.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A57
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2355;
/* rgb */ color: rgb(15, 35, 85);
/* oklch */ color: oklch(27.4% 0.095 264.5);
Tailwind
colors: {
  custom: {
    50: '#5a5d85',
    500: '#0f2355',
    950: '#000000',
  },
}
SCSS
$custom: #0f2355;
$custom-light: #5a5d85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2355",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 85
  },
  "hsl": {
    "h": 222.857,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27411,
    "c": 0.09466,
    "h": 264.5
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#0F2355
secondary
#8F7431
accent
#BA3BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2355

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

Preview Lab → · Contrast checker → · Palette generator →

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