#0F2F5A#0F2F5A

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

Color values

HEX#0F2F5A
RGBrgb(15, 47, 90)
HSLhsl(214, 71%, 21%)
HSVhsv(214, 83%, 35%)
CMYKcmyk(83.3%, 47.8%, 0%, 64.7%)
CIE-LABlab(19.53, 5.90, -29.18)
CIE-LCHlch(19.53, 29.77, 281.44°)
OKLaboklab(30.79% -0.0193 -0.0836)
OKLCHoklch(30.79% 0.086 257)
XYZxyz(3.0583, 2.8724, 10.0641)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F5A #5A3A0F
analogous
#0F545A #0F2F5A #140F5A
triadic
#0F2F5A #5A0F2F #2F5A0F
tetradic
#0F2F5A #5A0F54 #5A3A0F #0F5A14
square
#0F2F5A #5A0F54 #5A3A0F #0F5A14
split-complementary
#0F2F5A #5A140F #545A0F
monochromatic
#040E1A #061426 #0F2F5A #184A8E #2066C3

Accessibility & contrast

On white

13.34
#0F2F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F2F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F5A
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F5A#FFFFFF#000000##FFFFFF
##0F2F5A1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19335C
Deuteranopia (green-blind)
#0A2C59
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2f5a;
/* rgb */ color: rgb(15, 47, 90);
/* oklch */ color: oklch(30.8% 0.086 257.0);
Tailwind
colors: {
  custom: {
    50: '#5a6789',
    500: '#0f2f5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f5a;
$custom-light: #5a6789;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f5a",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 214.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30791,
    "c": 0.08583,
    "h": 257
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#0F2F5A
secondary
#946A31
accent
#A13AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F2F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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