#0F2E57#0F2E57

#0F2E57 is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.3% C 0.083 H 256.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#0F2E57
RGBrgb(15, 46, 87)
HSLhsl(214, 71%, 20%)
HSVhsv(214, 83%, 34%)
CMYKcmyk(82.8%, 47.1%, 0%, 65.9%)
CIE-LABlab(18.98, 5.33, -28.05)
CIE-LCHlch(18.98, 28.55, 280.76°)
OKLaboklab(30.31% -0.019 -0.0803)
OKLCHoklch(30.31% 0.083 256.7)
XYZxyz(2.8937, 2.7433, 9.3920)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E57 #57380F
analogous
#0F5257 #0F2E57 #140F57
triadic
#0F2E57 #570F2E #2E570F
tetradic
#0F2E57 #570F52 #57380F #0F5714
square
#0F2E57 #570F52 #57380F #0F5714
split-complementary
#0F2E57 #57140F #52570F
monochromatic
#050E1A #061223 #0F2E57 #184A8B #2165BF

Accessibility & contrast

On white

13.56
#0F2E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F2E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E57
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E57#FFFFFF#000000##FFFFFF
##0F2E571.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193259
Deuteranopia (green-blind)
#0C2B56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2e57;
/* rgb */ color: rgb(15, 46, 87);
/* oklch */ color: oklch(30.3% 0.083 256.7);
Tailwind
colors: {
  custom: {
    50: '#5a6687',
    500: '#0f2e57',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e57;
$custom-light: #5a6687;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e57",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 214.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.30305,
    "c": 0.08254,
    "h": 256.7
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#0F2E57
secondary
#916831
accent
#A03AED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0F2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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