#0F3057#0F3057

#0F3057 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.080 H 254.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#0F3057
RGBrgb(15, 48, 87)
HSLhsl(213, 71%, 20%)
HSVhsv(213, 83%, 34%)
CMYKcmyk(82.8%, 44.8%, 0%, 65.9%)
CIE-LABlab(19.65, 3.88, -26.98)
CIE-LCHlch(19.65, 27.26, 278.18°)
OKLaboklab(30.82% -0.021 -0.0771)
OKLCHoklch(30.82% 0.08 254.8)
XYZxyz(2.9736, 2.9032, 9.4186)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3057 #57360F
analogous
#0F5457 #0F3057 #120F57
triadic
#0F3057 #570F30 #30570F
tetradic
#0F3057 #570F54 #57360F #0F5712
square
#0F3057 #570F54 #57360F #0F5712
split-complementary
#0F3057 #57120F #54570F
monochromatic
#050E1A #061323 #0F3057 #184D8B #216ABF

Accessibility & contrast

On white

13.28
#0F3057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0F3057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3057
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3057#FFFFFF#000000##FFFFFF
##0F30571.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3359
Deuteranopia (green-blind)
#112D56
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f3057;
/* rgb */ color: rgb(15, 48, 87);
/* oklch */ color: oklch(30.8% 0.080 254.8);
Tailwind
colors: {
  custom: {
    50: '#5a6786',
    500: '#0f3057',
    950: '#000000',
  },
}
SCSS
$custom: #0f3057;
$custom-light: #5a6786;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3057",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 87
  },
  "hsl": {
    "h": 212.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.30823,
    "c": 0.07996,
    "h": 254.8
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#0F3057
secondary
#916531
accent
#9B3AED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F3057

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

Preview Lab → · Contrast checker → · Palette generator →

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