#0F2357#0F2357

#0F2357 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.098 H 264.8°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#0F2357
RGBrgb(15, 35, 87)
HSLhsl(223, 71%, 20%)
HSVhsv(223, 83%, 34%)
CMYKcmyk(82.8%, 59.8%, 0%, 65.9%)
CIE-LABlab(15.44, 13.52, -33.76)
CIE-LCHlch(15.44, 36.37, 291.82°)
OKLaboklab(27.59% -0.0089 -0.0974)
OKLCHoklch(27.59% 0.098 264.8)
XYZxyz(2.5177, 1.9915, 9.2667)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2357 #57430F
analogous
#0F4757 #0F2357 #1F0F57
triadic
#0F2357 #570F23 #23570F
tetradic
#0F2357 #570F47 #57430F #0F571F
square
#0F2357 #570F47 #57430F #0F571F
split-complementary
#0F2357 #571F0F #47570F
monochromatic
#050B1A #060E23 #0F2357 #18388B #214DBF

Accessibility & contrast

On white

15.02
#0F2357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F2357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2357
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2357#FFFFFF#000000##FFFFFF
##0F23571.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#002356
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2357;
/* rgb */ color: rgb(15, 35, 87);
/* oklch */ color: oklch(27.6% 0.098 264.8);
Tailwind
colors: {
  custom: {
    50: '#5a5d87',
    500: '#0f2357',
    950: '#000000',
  },
}
SCSS
$custom: #0f2357;
$custom-light: #5a5d87;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2357",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 87
  },
  "hsl": {
    "h": 223.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.27594,
    "c": 0.09777,
    "h": 264.8
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#0F2357
secondary
#917631
accent
#BC3AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2357

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

Preview Lab → · Contrast checker → · Palette generator →

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